mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 18:39:42 -05:00
SPIGOT-1575: Fix PlayerInventory.setArmorContents
This commit is contained in:
1 parent
be538b8a2a
commit
76c04254c1
1 file changed
+1
-1
@@ -145,7 +145,7 @@ public class CraftInventoryPlayer extends CraftInventory implements org.bukkit.i
|
||||
}
|
||||
|
||||
public void setArmorContents(ItemStack[] items) {
|
||||
int cnt = getSize();
|
||||
int cnt = getInventory().items.length;
|
||||
|
||||
if (items == null) {
|
||||
items = new ItemStack[4];
|
||||
|
||||
Reference in new issue
Block a user