1
0
Fork 0

improve hotbar gui

This commit is contained in:
Sen 2025-08-18 15:41:33 +02:00
parent e1759b853e
commit 030268bfc3
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
2 changed files with 21 additions and 7 deletions

View file

@ -2484,7 +2484,7 @@ public abstract class EntityNPC extends EntityLiving implements IInventory
}
public int getHotbarSize() {
return 12;
return this.getInventoryCapacity();
}
public int getSelectedIndex() {