StorageUnitBlock: Implement locking mechanism (#2124). Thanks to Sturmlilie

This commit is contained in:
drcrazy 2020-06-09 16:30:40 +03:00 committed by GitHub
parent f5cd992686
commit c3d405e4f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 102 additions and 4 deletions

View file

@ -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;
}