Utils ported

This commit is contained in:
Sebastian Hartte
2020-06-28 13:28:14 +02:00
parent fee5b7fdfc
commit 46955643b9
105 changed files with 239 additions and 379 deletions
@@ -231,8 +231,8 @@ public class ItemP2PTunnelPart extends P2PTunnelPart<ItemP2PTunnelPart> implemen
}
@Override
public int getSlotLimit(int slot) {
return this.getDestination().getSlotLimit(slot);
public int getMaxAmount(int slot, ItemStack is) {
return this.getDestination().getMaxAmount(slot, is);
}
public float getPowerDrainPerTick() {