bergerkiller/TrainCarts — Issue #8: Could not pass event error
Author: Xordaii
Created: 2012-01-29 13:50:55+00:00
State: open

CB 1818, Traincarts 1.6 v13, 1.1 client

We were having the same issue as NODeeJay, so I did use the 1.6 v13 to solve it. It fixed that error, but now we are getting another one when using the /gm command:

2012-01-29 04:58:13 [INFO] [PLAYER_COMMAND] Xordaii: /gm
2012-01-29 05:02:26 [SEVERE] Could not pass event org.bukkit.event.block.BlockBreakEvent to Train Carts
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:217)
at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:171)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:510)
at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
... 12 more
Caused by: java.lang.NullPointerException
at com.bergerkiller.bukkit.tc.utils.BlockLocation.(BlockLocation.java:17)
at com.bergerkiller.bukkit.tc.utils.BlockMap.get(BlockMap.java:39)
at com.bergerkiller.bukkit.tc.pathfinding.PathNode.clear(PathNode.java:57)
at com.bergerkiller.bukkit.tc.listeners.TCListener.onBlockBreak(TCListener.java:320)
... 16 more
2012-01-29 05:04:45 [INFO] [Citizens] Saving npc files to disk...

Not sure why, as I was only one on, nowhere near a track or cart (about 100 chunks away) and was breaking normal things like planks and stone, ladders, signs on chests.