13
0
geforkt von Mirrors/Paper

Additional commit to fix #BUKKIT-24

Dieser Commit ist enthalten in:
Nathan Adams 2012-01-14 12:46:23 +00:00
Ursprung 84b0310ae8
Commit 3ee8a2372c

Datei anzeigen

@ -203,8 +203,12 @@ public class CraftItemStack extends ItemStack {
list.add(subtag); list.add(subtag);
} }
if (enchantments.isEmpty()) {
tag.remove("ench");
} else {
tag.set("ench", list); tag.set("ench", list);
} }
}
public net.minecraft.server.ItemStack getHandle() { public net.minecraft.server.ItemStack getHandle() {
return item; return item;