mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-10-26 14:24:33 +00:00
Set WAILA stack limit to infinity with creative upgrades in place
This commit is contained in:
1 parent
15440384e6
commit
a79fe59264
2 files changed
+7
-2
No files matched your search
@@ -93,6 +93,7 @@ storageDrawers.waila.empty=<Empty>
|
||||
storageDrawers.waila.level=Upgrade Level: %s
|
||||
storageDrawers.waila.drawer=#%s: %s
|
||||
storageDrawers.waila.limit=Stack Limit: %s (x%s)
|
||||
storageDrawers.waila.nolimit=Stack Limit: ∞
|
||||
storageDrawers.waila.locked=Locked
|
||||
storageDrawers.waila.void=Void
|
||||
storageDrawers.waila.sorting=Sorting
|
||||
|
||||
@@ -96,8 +96,12 @@ public class Waila extends IntegrationModule
|
||||
currenttip.add(StatCollector.translateToLocalFormatted("storageDrawers.waila.drawer", i + 1, name));
|
||||
}
|
||||
|
||||
int limit = tile.getDrawerCapacity() * tile.getEffectiveStorageMultiplier();
|
||||
currenttip.add(StatCollector.translateToLocalFormatted("storageDrawers.waila.limit", limit, tile.getEffectiveStorageMultiplier()));
|
||||
if (tile.isUnlimited() || tile.isVending())
|
||||
currenttip.add(StatCollector.translateToLocalFormatted("storageDrawers.waila.nolimit"));
|
||||
else {
|
||||
int limit = tile.getDrawerCapacity() * tile.getEffectiveStorageMultiplier();
|
||||
currenttip.add(StatCollector.translateToLocalFormatted("storageDrawers.waila.limit", limit, tile.getEffectiveStorageMultiplier()));
|
||||
}
|
||||
|
||||
String attrib = "";
|
||||
if (tile.isLocked(LockAttribute.LOCK_POPULATED))
|
||||
|
||||
Reference in new issue
Block a user