Skip to content

Commit

Permalink
For the sake of legacy compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
fuj1n committed Sep 24, 2013
1 parent 4dc8657 commit e94cf46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tconstruct/blocks/logic/DrawbridgeLogic.java
Expand Up @@ -455,6 +455,9 @@ public void readFromNBT (NBTTagCompound tags)
if(bufferInv != null){
bufferStack = ItemStack.loadItemStackFromNBT(bufferInv);
}
if(bufferStack == null && inventory[0] != null){
bufferStack = inventory[0];
}

readCustomNBT(tags);
}
Expand Down

0 comments on commit e94cf46

Please sign in to comment.