Fixed the Crafty Crate destroying items if there's a block under it.

This commit is contained in:
Vasco Lavos committed 2017-01-21 16:57:41 +00:00
1 parent f67e6f8209
commit 3013253c90
1 file changed
+2 -2
@@ -105,7 +105,7 @@ public class TileCraftCrate extends TileOpenCrate {
if (worldObj.isRemote)
return;
if(craft(true) && canEject() || isFull())
if(canEject() && isFull() && craft(true))
ejectAll();
int newSignal = 0;
@@ -189,7 +189,7 @@ public class TileCraftCrate extends TileOpenCrate {
@Override
public boolean onWanded(World world, EntityPlayer player, ItemStack stack) {
if(!world.isRemote) {
if(!world.isRemote && canEject()) {
craft(false);
ejectAll();
}