Fix energy storage blocks not rotating
This commit is contained in:
parent
67acfaaab9
commit
81aee77869
3 changed files with 16 additions and 45 deletions
src/main/java/techreborn/tiles/storage
|
@ -79,6 +79,7 @@ public class TileEnergyStorage extends TilePowerAcceptor implements IWrenchable,
|
|||
|
||||
@Override
|
||||
public void updateEntity() {
|
||||
super.updateEntity();
|
||||
if (inventory.getStackInSlot(0) != ItemStack.EMPTY) {
|
||||
ItemStack stack = inventory.getStackInSlot(0);
|
||||
if (!(stack.getItem() instanceof IEnergyItemInfo)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue