Remove arbitrary comp tier registry limit.

This commit is contained in:
Justin Aquadro committed 2015-12-05 13:53:07 -05:00
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));
}