Skip to content

Commit 680c49b

Browse files
committed
Fix incorrect drawer inventory size
1 parent bb4cf23 commit 680c49b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityDrawers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ public boolean canExtractItem (int slot, ItemStack stack, int side) {
932932

933933
@Override
934934
public int getSizeInventory () {
935-
return inventory.getSizeInventory();
935+
return getDrawerCount();
936936
}
937937

938938
@Override

0 commit comments

Comments
 (0)