Skip to content

Commit bf0f6d3

Browse files
authored
Fix incorrect drawer inventory size (#16)
1 parent bb4cf23 commit bf0f6d3

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)