mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 02:35:49 +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;
|
return EnchantmentTarget.FISHING_ROD;
|
||||||
case BREAKABLE:
|
case BREAKABLE:
|
||||||
return EnchantmentTarget.BREAKABLE;
|
return EnchantmentTarget.BREAKABLE;
|
||||||
|
case WEARABLE:
|
||||||
|
return EnchantmentTarget.WEARABLE;
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue