For the sake of legacy compatibility

This commit is contained in:
Arthur Uzulin committed 2013-09-24 16:43:44 +10:00
1 parent 4dc8657841
commit e94cf46b95
1 file changed
+3
@@ -455,6 +455,9 @@ public class DrawbridgeLogic extends InventoryLogic implements IFacingLogic, IAc
if(bufferInv != null){
bufferStack = ItemStack.loadItemStackFromNBT(bufferInv);
}
if(bufferStack == null && inventory[0] != null){
bufferStack = inventory[0];
}
readCustomNBT(tags);
}