geforkt von Mirrors/Paper
Additional commit to fix #BUKKIT-24
Dieser Commit ist enthalten in:
Ursprung
84b0310ae8
Commit
3ee8a2372c
@ -203,7 +203,11 @@ public class CraftItemStack extends ItemStack {
|
|||||||
list.add(subtag);
|
list.add(subtag);
|
||||||
}
|
}
|
||||||
|
|
||||||
tag.set("ench", list);
|
if (enchantments.isEmpty()) {
|
||||||
|
tag.remove("ench");
|
||||||
|
} else {
|
||||||
|
tag.set("ench", list);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public net.minecraft.server.ItemStack getHandle() {
|
public net.minecraft.server.ItemStack getHandle() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren