mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 20:52:34 +00:00
Fix PlayerEquipmentInvWrapper offset. Closes #10532
This commit is contained in:
2 files changed
+10
-1
No files matched your search
@@ -14,7 +14,7 @@ public class PlayerEquipmentInvWrapper extends RangedWrapper {
|
||||
private final Inventory inventoryPlayer;
|
||||
|
||||
public PlayerEquipmentInvWrapper(Inventory inv) {
|
||||
super(new InvWrapper(inv), inv.getNonEquipmentItems().size(), inv.getNonEquipmentItems().size() + inv.getEquipment().size());
|
||||
super(new InvWrapper(inv), inv.getNonEquipmentItems().size(), inv.getContainerSize());
|
||||
inventoryPlayer = inv;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user