StorageUnitBlock: Implement locking mechanism (#2124). Thanks to Sturmlilie
This commit is contained in:
parent
f5cd992686
commit
c3d405e4f4
4 changed files with 102 additions and 4 deletions
|
@ -50,7 +50,7 @@ public class StorageUnitRenderer extends BlockEntityRenderer<StorageUnitBaseBloc
|
|||
if (storage.getWorld() == null) {
|
||||
return;
|
||||
}
|
||||
ItemStack stack = storage.getStoredStack();
|
||||
ItemStack stack = storage.getDisplayedStack();
|
||||
if (stack.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue