mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 05:02:30 +00:00
Fixed the Crafty Crate destroying items if there's a block under it.
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user