Fixed crate interaction for creative mode users

This commit is contained in:
Robert S 2014-04-26 12:24:22 -04:00
parent 3c2f73a27b
commit 1b19d4428b

View file

@ -176,8 +176,10 @@ public class BlockCrate extends BlockTile
tryEject(tile, player, world.getWorldTime() - tile.prevClickTime < 10); tryEject(tile, player, world.getWorldTime() - tile.prevClickTime < 10);
} }
} }
else
{
tryInsert(tile, player, world.getWorldTime() - tile.prevClickTime < 10); tryInsert(tile, player, world.getWorldTime() - tile.prevClickTime < 10);
}
} }
tile.prevClickTime = world.getWorldTime(); tile.prevClickTime = world.getWorldTime();