This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I'm using LegendaryItems and EasyEnchant, which allow enchanting items to levels greater than 5. When I try to trigger the "restoreinventory" action, here's what it says:
java.lang.IllegalArgumentException: Enchantment level is either too low or too high (given 6, bounds are 1 to 5 at org.bukkit.inventory.ItemStack.addEnchantment(ItemStack.java:299) at regalowl.actionzones.InventoryStorage.returnInventory(InventoryStorage.java:91) at regalowl.actionzones.Action.selectAction(Action.java:151) at regalowl.actionzones.RunExitAction$1.run(RunExitAction.java:32)
This should be fixed in the next build. Let me know if it works.
@RegalOwl: Go
The restoreinventory action works now, and it returns all my inventory. All my EasyEnchanted items are fine, but my LegendaryItems aren't legendary anymore. I had a legendary axe that was Unbreaking 10 with the Maim and Harm potion effects set to EntityDamageEvent (insta-kill), and it changed the Unbreaking enchantment to level 1 and removed the potion effects.
@disciple218: Go
Hmm, I'm not sure how LegendaryItems works. It sounds like it tracks all of its items which allows it to add custom effects. Normally an item can't have a potion effect, as far as I know. The only way to add support for that plugin would be some sort of API if it has one. I could look into that later. For now just keep legendary items items safe in chests I suppose.
To post a comment, please login or register a new account.