Skip to content

Commit

Permalink
fixing the block side
Browse files Browse the repository at this point in the history
  • Loading branch information
Alastors committed Jan 28, 2024
1 parent a64bd5f commit 38bc8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/magicbees/block/BlockApimancersDrainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer p
return false;
} else {
TileEntity tile = world.getTileEntity(x, y, z);
if (tile instanceof TileEntityApimancersDrainerCommon && side != 0) {
if (tile instanceof TileEntityApimancersDrainerCommon && side != 1) {
ItemStack tItemStack = player.getHeldItem();
if (tItemStack != null) {
Item tItem = tItemStack.getItem();
Expand Down

0 comments on commit 38bc8a1

Please sign in to comment.