mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Add missing WEARABLE EnchantmentTarget
By: md_5 <git@md-5.net>
This commit is contained in:
parent
246e624213
commit
ec3128505e
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ public class CraftEnchantment extends Enchantment {
|
|||
return EnchantmentTarget.FISHING_ROD;
|
||||
case BREAKABLE:
|
||||
return EnchantmentTarget.BREAKABLE;
|
||||
case WEARABLE:
|
||||
return EnchantmentTarget.WEARABLE;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue