api: Add support for verbose inventory quantities (#2814)
* - - * Add VerboseInventoryQuantitiesMixin with changes. * Fix checkstyle and add copyright header. * Remove unused imports * Checkstyle hotfix * Checkstyle * Checkstyle2 * Change Internal name to itemQuantitiesVerbose
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@@ -79,7 +80,8 @@ public class class194 {
|
||||
descriptor = "(IS)Ljava/lang/String;",
|
||||
garbageValue = "4096"
|
||||
)
|
||||
static final String method3712(int var0) {
|
||||
@Export("inventoryQuantityFormat")
|
||||
static final String inventoryQuantityFormat(int var0) {
|
||||
if (var0 < 100000) { // L: 421
|
||||
return "<col=ffff00>" + var0 + "</col>";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user