fix unused armor slots showing up in gui
This commit is contained in:
parent
906517479f
commit
ae0b11272d
4 changed files with 4 additions and 5 deletions
|
@ -1287,7 +1287,7 @@ public class Client implements IThreadListener {
|
|||
int xPos = xoff * scale;
|
||||
for(int index = 0; index < size; ++index) {
|
||||
ItemStack itemstack = this.player.getStackInSlot(index);
|
||||
if(itemstack != null && (width >= 20 || index == selected)) {
|
||||
if(itemstack != null && (width >= 17 || index == selected)) {
|
||||
GuiContainer.renderItemOverlay(itemstack,
|
||||
xPos, by, null, index == this.player.getSelectedIndex() ? this.controller.getUseCooldown() : 0, this.controller.getUseCooldownMax(), scale);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue