Merge pull request #1537 from AndreySolodovnikov/AdvTransFix
Fixed adjustable transformer gui bug & adjusted buffer
This commit is contained in:
commit
a2e706f305
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ public class GT_Container_DigitalTransformer extends GT_ContainerMetaTile_Machin
|
||||||
Slot tSlot = (Slot) inventorySlots.get(aSlotIndex);
|
Slot tSlot = (Slot) inventorySlots.get(aSlotIndex);
|
||||||
if (tSlot != null && mTileEntity.getMetaTileEntity() != null) {
|
if (tSlot != null && mTileEntity.getMetaTileEntity() != null) {
|
||||||
GT_MetaTileEntity_Digital_Transformer dpg = (GT_MetaTileEntity_Digital_Transformer) mTileEntity.getMetaTileEntity();
|
GT_MetaTileEntity_Digital_Transformer dpg = (GT_MetaTileEntity_Digital_Transformer) mTileEntity.getMetaTileEntity();
|
||||||
if (aSlotIndex > 11) {
|
if (aSlotIndex > 5) {
|
||||||
return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
|
return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
|
||||||
}
|
}
|
||||||
int mult = (aSlotIndex > 2 ? 1 : -1);
|
int mult = (aSlotIndex > 2 ? 1 : -1);
|
||||||
|
|
|
@ -126,6 +126,6 @@ public class GT_MetaTileEntity_Digital_Transformer extends GT_MetaTileEntity_Tra
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public long maxEUStore() {
|
public long maxEUStore() {
|
||||||
return 512L + V[mTier + 1] * 64L;
|
return 512L + V[mTier] * 256L;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue