mirror of
https://github.com/JamesPeters98/ChestsPlusPlus.git
synced 2024-11-14 22:56:27 +01:00
Update ChestLinkStorage.java
When adding a chest that already contains an item, the display item now gets updated!
This commit is contained in:
parent
3d5c806116
commit
c71c8d6214
@ -51,6 +51,7 @@ public class ChestLinkStorage extends AbstractStorage implements ConfigurationSe
|
||||
Chest chest = (Chest) block.getState();
|
||||
getInventory().setContents(chest.getInventory().getContents());
|
||||
chest.getInventory().clear();
|
||||
updateDisplayItem();
|
||||
}
|
||||
init();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user