Area bug
RedLima opened this issue ยท 3 comments
I keep getting the same problem for the area signs for the wiki and for myself, id like to know if this is a bug or im just doing it wrong. Also, when i click it (during a game with enough money) nothing happens and the blue wool keeps appearing. My money doesnt decrease by anything but if i dont have enough money it states that i need money to buy this. However, i notice that this pops up when i click the sign with enough money:
15:49:41 [SEVERE] Could not pass event PlayerInteractEvent to Ablockalypse v1.2.
0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
ava:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:462)
at org.bukkit.craftbukkit.v1_4_5.event.CraftEventFactory.callPlayerInter
actEvent(CraftEventFactory.java:178)
at net.minecraft.server.v1_4_5.ItemInWorldManager.interact(ItemInWorldMa
nager.java:376)
at net.minecraft.server.v1_4_5.NetServerHandler.a(NetServerHandler.java:
665)
at net.minecraft.server.v1_4_5.Packet15Place.handle(SourceFile:58)
at net.minecraft.server.v1_4_5.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_5.NetServerHandler.d(NetServerHandler.java:
- at net.minecraft.server.v1_4_5.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_5.DedicatedServerConnection.b(SourceFile:30
)
at net.minecraft.server.v1_4_5.MinecraftServer.r(MinecraftServer.java:59 -
at net.minecraft.server.v1_4_5.DedicatedServer.r(DedicatedServer.java:22
-
at net.minecraft.server.v1_4_5.MinecraftServer.q(MinecraftServer.java:49
-
at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:
- at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:85
Caused by: java.lang.NullPointerException
at com.github.JamesNorris.Implementation.GameWallSign.getClosestArea(Gam
eWallSign.java:66)
at com.github.JamesNorris.Implementation.GameWallSign.runLines(GameWallS
ign.java:221)
at com.github.JamesNorris.Event.Bukkit.PlayerInteract.PIE(PlayerInteract
.java:113)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:339)
... 16 more
Is this a bug or what? Im using the dev build of CB 1.4.5 R0.3 i think...either that or the R0.2. Im also using 1.2.0 of the plugin. I placed screenshots below so to help
you can see that it has the blinkers...
you can see that the game is started, i have 0 points and that it askes for 100 points...
now i have 1000 points (more than enough), nothing happens, the blinkers still go off, and my money is still 1000 even after i clicked it...
Hope that helps...
You aren't running the latest dev build of CraftBukkit. That is required for v1.1.8+ of Ablockalypse, due to the Bukkit staff's decision to change package names.
Actually, I rechecked the problem, and it appears the version is not the problem. As far as I can tell a NullPointer is causing an EventException. I will try to fix this by the next build.