This improves and should fix the found bugs. If you have bugs please use the discussion to report them not the review area and please be descriptive otherwise I cant fix it. Thanks!
Custom Items with custom Effects & Enchants!
Thanks everyone who posted errors in the discussion. As of now, they should all be fixed. Let me know of anymore issues. Thanks Again!
Caused by: java.lang.UnsupportedOperationException: Use BukkitRunnable#runTaskLater(Plugin, long)
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.scheduleSyncDelayedTask(CraftScheduler.java:491) ~[minecraft_server.jar:git-Spigot-9de398a-9c887d4]
at com.kohlerpop1.ArmorEffectsMaven.Events.ItemPickupEvent.ItemPickup(ItemPickupEvent.java:24) ~[?:?]
at sun.reflect.GeneratedMethodAccessor393.invoke(Unknown Source) ~[?:?]
Fixed glass error and now works with all versions!popeylord likes this.
There may be a few bugs but it should work for the most part. Feel free to reply in the discussion or dm me on discord with bugs. Thanks!
Fixed all the bugs reported in it and updated to support 1.14. Enjoy!!!
Forgot to remove debug options!
Heres the fix!
Fix bugs where if your item was a place-able block that you would place it and keep the effect.... Now removes the effect but still places the block.
Also fixed if you were holding an item then pressed 'e' and moved it around you could throw it out or move it out of your hand to get more effects... Now made it so effects should be properly removed if the item is moved.
Still looking for a way to fix the clearing of items makes you keep all effects.
Thanks for downloading!
Also optimized code!!!
Code (Java):[12:37:39 ERROR]: Could not pass event InventoryClickEvent to ArmorEffectsMaven v1.0
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.1.jar:git-Spigot-2440e18-4228a56]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.1.jar:git-Spigot-2440e18-4228a56]
Page 1 of 3