mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Cast the floating flower right click TE stuff to the interface, not the impl. Closes #686
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user