geforkt von Mirrors/Paper
SPIGOT-1575: Fix PlayerInventory.setArmorContents
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
644995a8e5
Commit
453753b3a3
@ -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