Merge pull request #1537 from AndreySolodovnikov/AdvTransFix

Fixed adjustable transformer gui bug & adjusted buffer
This commit is contained in:
Alkalus 2020-04-06 21:41:07 +01:00 committed by GitHub
commit a2e706f305
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ public class GT_Container_DigitalTransformer extends GT_ContainerMetaTile_Machin
Slot tSlot = (Slot) inventorySlots.get(aSlotIndex);
if (tSlot != null && mTileEntity.getMetaTileEntity() != null) {
GT_MetaTileEntity_Digital_Transformer dpg = (GT_MetaTileEntity_Digital_Transformer) mTileEntity.getMetaTileEntity();
if (aSlotIndex > 11) {
if (aSlotIndex > 5) {
return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
}
int mult = (aSlotIndex > 2 ? 1 : -1);

View file

@ -126,6 +126,6 @@ public class GT_MetaTileEntity_Digital_Transformer extends GT_MetaTileEntity_Tra
@Override
public long maxEUStore() {
return 512L + V[mTier + 1] * 64L;
return 512L + V[mTier] * 256L;
}
}