parent
4f9f98e1bd
commit
ad9f50110a
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ import techreborn.blocks.storage.BlockBatBox;
|
|||
import techreborn.client.TechRebornCreativeTabMisc;
|
||||
import techreborn.items.ItemTR;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.storage.TileBatBox;
|
||||
import techreborn.tiles.storage.TileEnergyStorage;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -60,7 +60,7 @@ public class ItemWrench extends ItemTR implements ITexturedItem
|
|||
|
||||
if (!player.isSneaking())
|
||||
{
|
||||
if (tile instanceof TileBatBox)
|
||||
if (tile instanceof TileEnergyStorage)
|
||||
{
|
||||
tile.getWorld().setBlockState(tile.getPos(),
|
||||
tile.getWorld().getBlockState(pos).withProperty(BlockBatBox.FACING, side.getOpposite()));
|
||||
|
|
Loading…
Reference in a new issue