MultiHome

119k Downloads

Error

kenkiller opened this issue ยท 5 comments

commented

Hi,
When somebody do a command I have this error

Thanks

ERROR:

null
org.bukkit.command.CommandException: Unhandled exception executing command 'mhome' in plugin MultiHome v0.11.2
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:356)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:477)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
Caused by: java.lang.NullPointerException
at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:319)
at net.madmanmarkau.MultiHome.Util.teleportPlayer(Util.java:100)
at net.madmanmarkau.MultiHome.CommandExecutor.goDefaultHome(CommandExecutor.java:60)
at net.madmanmarkau.MultiHome.MultiHome.onCommandFromPlayer(MultiHome.java:129)
at net.madmanmarkau.MultiHome.MultiHome.onCommand(MultiHome.java:120)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 12 more

commented

Post your homes.txt file to pastebin and link it here.

commented

Because I didn't know how to solve it, I created a new homes.txt but If you want I can send you the old one to fix the bug.

Sorry about that

commented

If you still have it, then please send it. It'll help stop other users having the same issue.

commented

The cause of this has been found and fixed. Thanks for your help. :)