Fixed the Rod of the Shifting Crust placing fake blocks in the client side. Closes #1290

This commit is contained in:
Lizbeth Rika committed 2015-08-21 21:35:34 +01:00
1 parent 9d9ce34bad
commit 434fcf71cd
1 file changed
+2 -2
@@ -218,9 +218,9 @@ public class ItemExchangeRod extends ItemMod implements IManaUsingItem, IWirefra
removeFromInventory(player, stack, blockToSet, metaToSet, true);
}
world.playAuxSFX(2001, x, y, z, Block.getIdFromBlock(blockAt) + (meta << 12));
world.setBlock(x, y, z, blockToSet, metaToSet, 1 | 2);
blockToSet.onBlockPlacedBy(world, x, y, z, player, placeStack);
}
world.setBlock(x, y, z, blockToSet, metaToSet, 1 | 2);
blockToSet.onBlockPlacedBy(world, x, y, z, player, placeStack);
displayRemainderCounter(player, stack);
return true;
}