mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-04 02:01:44 +01:00
Add missing WEARABLE EnchantmentTarget
This commit is contained in:
parent
1bb523c4e4
commit
fb414fe101
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