Cast the floating flower right click TE stuff to the interface, not the impl. Closes #686

This commit is contained in:
Lizbeth Rika committed 2015-03-25 21:48:04 +00:00
1 parent e4c8a9ec8a
commit 953a0f57c6
1 file changed
+1 -1
@@ -129,7 +129,7 @@ public class BlockFloatingFlower extends BlockModContainer implements ILexiconab
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) {
ItemStack stack = player.getCurrentEquippedItem();
if(stack != null) {
TileFloatingFlower flower = (TileFloatingFlower) world.getTileEntity(x, y, z);
IFloatingFlower flower = (IFloatingFlower) world.getTileEntity(x, y, z);
IslandType type = null;
if(stack.getItem() == Items.snowball)
type = IslandType.SNOW;