Skip to content

Commit

Permalink
Map WEARABLE enchantment target
Browse files Browse the repository at this point in the history
BREAKABLE at least includes everything that WEARABLE also includes, I think.
rutgerkok committed Apr 28, 2018
1 parent c1375de commit e99536b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -25,6 +25,9 @@ public class PokkitEnchantmentTarget {
twoWay(EnchantmentType.DIGGER, EnchantmentTarget.TOOL);
twoWay(EnchantmentType.FISHING_ROD, EnchantmentTarget.FISHING_ROD);
twoWay(EnchantmentType.SWORD, EnchantmentTarget.WEAPON);

// For WEARABLE, no suitable Nukkit target exists yet
bukkitToNukkit.put(EnchantmentTarget.WEARABLE, EnchantmentType.BREAKABLE);
}

/**

0 comments on commit e99536b

Please sign in to comment.