mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 01:25:03 +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;
|
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…
Add table
Reference in a new issue