1
0
forked from xjboss/KCauldronX
KCauldronX/patches/net/minecraft/enchantment/Enchantment.java.patch

12 lines
412 B
Diff
Raw Normal View History

2015-03-22 17:38:04 +00:00
--- ../src-base/minecraft/net/minecraft/enchantment/Enchantment.java
+++ ../src-work/minecraft/net/minecraft/enchantment/Enchantment.java
@@ -56,6 +56,8 @@
{
enchantmentsList[p_i1926_1_] = this;
}
+
+ org.bukkit.enchantments.Enchantment.registerEnchantment(new org.bukkit.craftbukkit.enchantments.CraftEnchantment(this)); // CraftBukkit
}
public int getWeight()