Skip to content

Commit

Permalink
Merge pull request #1537 from AndreySolodovnikov/AdvTransFix
Browse files Browse the repository at this point in the history
Fixed adjustable transformer gui bug & adjusted buffer
  • Loading branch information
draknyte1 authored Apr 6, 2020
2 parents 2bd3aa3 + 7394cf9 commit a2e706f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public ItemStack slotClick(int aSlotIndex, int aMouseclick, int aShifthold, Enti
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ public boolean isElectric() {

@Override
public long maxEUStore() {
return 512L + V[mTier + 1] * 64L;
return 512L + V[mTier] * 256L;
}
}

0 comments on commit a2e706f

Please sign in to comment.