Comments (26)
[20:56:07 ERROR]: Could not pass event InventoryClickEvent to SwarmEnchantments v1.2org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]Caused by: java.lang.NullPointerException
from crazyenchantments.
That's the error if I try putting an invalid item in, but there's an error if I put the right item in too
from crazyenchantments.
[21:00:33] [Server thread/INFO]: xu_yukun issued server command: /tinker
[21:00:34] [Server thread/ERROR]: Could not pass event InventoryClickEvent to SwarmEnchantments v1.2
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.NullPointerException
at me.BadBones69.CrazyEnchantments.Api.makeItem(Api.java:220) ~[?:?]
at me.BadBones69.CrazyEnchantments.DustControl.getDust(DustControl.java:137) ~[?:?]
at me.BadBones69.CrazyEnchantments.Tinkerer.onInvClick(Tinkerer.java:124) ~[?:?]
at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-db6de12-18fbb24]
... 15 more
from crazyenchantments.
^That's the error for if I put a correct item in, and it disappears
from crazyenchantments.
Ok well 1st question did you rename the plugin to SwarmEnchantments or is that a different plugin. 2nd is the error is happening because the dust id you put in is invalid. Meaning thats not the id for it.
from crazyenchantments.
I did rename the plugin in the code, and I put in a book, not dust :(
from crazyenchantments.
thanks also :D
from crazyenchantments.
How do I fix this though? I just copy and pasted the updated code into my edited code
from crazyenchantments.
Oh wait I saw it, my config was wrong, thanks :P
from crazyenchantments.
Although when I right click the dust now, I don't get anything :P, I rightclicked over a stack, and still got nothing. I used fire charges as the material btw.
from crazyenchantments.
I am not sure what your saying the problem is.
from crazyenchantments.
basically when I click the mystery dust, I don't get the fixing or other dust
from crazyenchantments.
Strange. Any errors ?
from crazyenchantments.
I'll go look :D
from crazyenchantments.
[11:45:34 ERROR]: Could not pass event PlayerInteractEvent to SwarmEnchantments v1.2org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:228) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:195) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:191) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:717) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:52) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]Caused by: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_91] at java.lang.Integer.parseInt(Integer.java:592) ~[?:1.8.0_91] at java.lang.Integer.parseInt(Integer.java:615) ~[?:1.8.0_91] at me.BadBones69.CrazyEnchantments.DustControl.getPercent(DustControl.java:165) ~[?:?] at me.BadBones69.CrazyEnchantments.DustControl.openDust(DustControl.java:104) ~[?:?] at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-db6de12-18fbb24] ... 18 more
from crazyenchantments.
very much error D:
from crazyenchantments.
it uses the item, just doesn't return anything.
from crazyenchantments.
Hmm go to your config.yml and for the MysteryDust it looks like your Lore is missing the %Percent% and it needs that in there
from crazyenchantments.
ah thanks :D
from crazyenchantments.
Wow you read these things well... I'm absolutely useless at this haha.
from crazyenchantments.
You mean the errors?
from crazyenchantments.
Yeah haha
from crazyenchantments.
I can only find what line the error is talking about, but never why it is doing that.
from crazyenchantments.
Lol just look at the lines and see what happens. It says the problem is on line 165 Here so it says the error is that all that is getting through is "" which the string called args is being returned there. args when made = "" and it should not be that when returned when going through the lore. it should be a number where %Percent% is. but since its returning "" that most likly means that the lore doesn't contain %Percent%
from crazyenchantments.
If you understand what i am saying.
from crazyenchantments.
Ah I see... thanks so much haha. I only know elementary java, so a lot of this is gibberish to me XD
from crazyenchantments.
Related Issues (20)
- [Bug Report]: Custom Items in the Off Hand HOT 1
- [Feature Request]: Slot Crystal Command HOT 2
- [Bug Report]: Mystery Dust & Full Inventories
- [Bug Report]: Failed Dust doesn't stack
- [Bug Report]: Nutrition and Vampire don't work HOT 1
- [Feature Request]: Alternative for Rage Messages HOT 1
- [Bug Report]: Nursery level seems to be irrelevant
- [Bug Report]: Incorrect Slot Crystal message
- [Bug Report]: White Scroll Not Working HOT 1
- [Bug Report]: Potential Effect Enchantment Conflict HOT 1
- [Bug Report]: Headless and Mob Heads HOT 1
- [Bug Report]: HellForged isn't working HOT 1
- [Bug Report]: Entity Damage error HOT 3
- CrazyEnchanmets casues crash HOT 2
- [Bug Report]: Furnace adds nbt HOT 1
- Hide level if max is 1
- Warning for command /clear HOT 1
- Certain Enchants Cause Crashes on Paper 1.20.4
- Boom I enchant possibly causing infinite error cycling HOT 1
- Enchantment HellForged and Nursery randomly stop working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crazyenchantments.