mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-14 01:04:16 +00:00
The Crafty Crate now automatically ejects its contents if full and no matching recipe is found. Closes #953.
This commit is contained in:
1 parent
5a697264a1
commit
29d888bc45
1 file changed
+1
-1
@@ -91,7 +91,7 @@ public class TileCraftCrate extends TileOpenCrate {
|
||||
|
||||
@Override
|
||||
public void updateEntity() {
|
||||
if(!worldObj.isRemote && craft(true) && canEject())
|
||||
if(!worldObj.isRemote && ((craft(true) && canEject()) || isFull()))
|
||||
ejectAll();
|
||||
|
||||
int newSignal = 0;
|
||||
|
||||
Reference in new issue
Block a user