kangarko / Foundation

Foundation™ helps you create highly customized Minecraft plugins (based on Spigot/Paper API) that support multiple MC versions.
https://mineacademy.org
305 stars 63 forks source link

fix SimpleEnchantment #286

Closed Takivad11 closed 3 months ago

Takivad11 commented 3 months ago

Tested it and now it works properly + now i used the formatting intelliJ gets per default and it uses tabs so it's all good now!

kangarko commented 3 months ago

Pushed it. Reformatted (for some reason the entire class in your commit is replaced as you can see).

However when I have a custom item that has the enchant, it still duplicates it when I enchant it again using /enchant:

a

/enchant kangarko minecraft:black_nova 2