mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-21 20:52:27 +00:00
Remove arbitrary comp tier registry limit.
This commit is contained in:
1 parent
42d0b0af57
commit
5db29123c4
2 files changed
-4
No files matched your search
@@ -34,8 +34,6 @@ public class CompTierRegistry
|
||||
public boolean register (ItemStack upper, ItemStack lower, int convRate) {
|
||||
if (upper == null || lower == null)
|
||||
return false;
|
||||
if (convRate != 4 && convRate != 9)
|
||||
return false;
|
||||
|
||||
unregisterUpperTarget(upper);
|
||||
unregisterLowerTarget(lower);
|
||||
|
||||
@@ -19,8 +19,6 @@ public class Compaction
|
||||
|
||||
if (upperStack == null || lowerStack == null)
|
||||
MineTweakerAPI.logError("Tried to add compacting tier with invalid item stack.");
|
||||
else if (conversion != 4 && conversion != 9)
|
||||
MineTweakerAPI.logError("Tried to add compacting tier with invalid conversion value (must be 4 or 9).");
|
||||
else
|
||||
MineTweakerAPI.apply(new AddRecordAction(upperStack, lowerStack, conversion));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user