diff --git a/common/MysticWorld/Util/TickHandler.java b/common/MysticWorld/Util/TickHandler.java index a0810b3..48a79b7 100644 --- a/common/MysticWorld/Util/TickHandler.java +++ b/common/MysticWorld/Util/TickHandler.java @@ -47,12 +47,8 @@ public class TickHandler implements IScheduledTickHandler { @Override public void tickStart(EnumSet type, Object... tickData) { - Random rand = new Random(); EntityPlayer player = (EntityPlayer) tickData[0]; - World world = player.worldObj; - InventoryPlayer inventory = player.inventory; - ItemStack itemstack = inventory.getCurrentItem(); - pillarTick(player, world, inventory, rand); + pillarTick(player, player.worldObj, player.inventory, new Random()); } private static void pillarTick(EntityPlayer player, World world, InventoryPlayer inventory, Random rand) {