Coder Social home page Coder Social logo

Comments (26)

Yukun99 avatar Yukun99 commented on June 16, 2024

[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.

Yukun99 avatar Yukun99 commented on June 16, 2024

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.

Yukun99 avatar Yukun99 commented on June 16, 2024

[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.

Yukun99 avatar Yukun99 commented on June 16, 2024

^That's the error for if I put a correct item in, and it disappears

from crazyenchantments.

badbones69 avatar badbones69 commented on June 16, 2024

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.

Yukun99 avatar Yukun99 commented on June 16, 2024

I did rename the plugin in the code, and I put in a book, not dust :(

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

thanks also :D

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

How do I fix this though? I just copy and pasted the updated code into my edited code

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

Oh wait I saw it, my config was wrong, thanks :P

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

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.

badbones69 avatar badbones69 commented on June 16, 2024

I am not sure what your saying the problem is.

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

basically when I click the mystery dust, I don't get the fixing or other dust

from crazyenchantments.

badbones69 avatar badbones69 commented on June 16, 2024

Strange. Any errors ?

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

I'll go look :D

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

[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.

Yukun99 avatar Yukun99 commented on June 16, 2024

very much error D:

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

it uses the item, just doesn't return anything.

from crazyenchantments.

badbones69 avatar badbones69 commented on June 16, 2024

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.

Yukun99 avatar Yukun99 commented on June 16, 2024

ah thanks :D

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

Wow you read these things well... I'm absolutely useless at this haha.

from crazyenchantments.

badbones69 avatar badbones69 commented on June 16, 2024

You mean the errors?

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

Yeah haha

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

I can only find what line the error is talking about, but never why it is doing that.

from crazyenchantments.

badbones69 avatar badbones69 commented on June 16, 2024

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.

badbones69 avatar badbones69 commented on June 16, 2024

If you understand what i am saying.

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.