geforkt von Mirrors/Paper
SPIGOT-1575: Fix PlayerInventory.setArmorContents
Dieser Commit ist enthalten in:
Ursprung
be538b8a2a
Commit
76c04254c1
@ -145,7 +145,7 @@ public class CraftInventoryPlayer extends CraftInventory implements org.bukkit.i
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setArmorContents(ItemStack[] items) {
|
public void setArmorContents(ItemStack[] items) {
|
||||||
int cnt = getSize();
|
int cnt = getInventory().items.length;
|
||||||
|
|
||||||
if (items == null) {
|
if (items == null) {
|
||||||
items = new ItemStack[4];
|
items = new ItemStack[4];
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren