[SEVERE] null
WoAnerges opened this issue ยท 7 comments
While trying to unvanish with vanish command
CraftBukkit version git-Bukkit-1.2.5-R1.0-18-g62b098e-b2161jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.2-SNAPSHOT)
[SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'vanish' in plugin VanishNoPacket v3.7
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.IllegalArgumentException: Cannot measure distance between Beginning and World1
at org.bukkit.Location.distanceSquared(Location.java:381)
at org.bukkit.craftbukkit.CraftWorld.playEffect(CraftWorld.java:784)
at org.bukkit.craftbukkit.CraftWorld.playEffect(CraftWorld.java:759)
at org.kitteh.vanish.VanishManager.smokeScreenEffect(VanishManager.java:299)
at org.kitteh.vanish.VanishManager.toggleVanishQuiet(VanishManager.java:234)
at org.kitteh.vanish.VanishManager.toggleVanish(VanishManager.java:173)
at org.kitteh.vanish.VanishCommand.onCommand(VanishCommand.java:62)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 12 more
Oh I love this error! I'm not sure if anybody knows what's causing it yet, but it's happening only when people use multiworld plugins. If I could get more info (which plugins you're using, versions of any multiworld plugin...) that'd be pretty cool
After some code poking I can tell that this is an issue not within VanishNoPacket but with your multiworld plugin. Craftbukkit uses a method to check radius and effect distance and it seems that you have players within the same CraftWorld instance but in seperate worlds which is totally confusing and weird and causes this error.
mv version
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] Multiverse-Core Version: 2.4-b527
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] Bukkit Version: git-Bukkit-1.2.5-R1.0-18-g62b098e-b2161jnks (MC: 1.2.5)
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] Loaded Worlds: 6
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] Multiverse Plugins Loaded: 2
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] Economy being used: iConomy 6
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] Permissions Plugin: Bukkit Permissions (SuperPerms)
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] Dumping Config Values: (version 2.9)
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] messagecooldown: 5000
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] teleportcooldown: 1000
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] worldnameprefix: true
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] enforceaccess: true
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] displaypermerrors: false
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] teleportintercept: true
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] firstspawnoverride: true
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] firstspawnworld: World0
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] debug: 0
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Core] Special Code: FRN002
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Portals] Multiverse-Portals Version: 2.4-b546
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Portals] Loaded Portals: 90
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Portals] Dumping Portal Values: (version 2.7)
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Portals] wand: 271
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Portals] useonmove: true
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Portals] enforceportalaccess: true
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Portals] portalsdefaulttonether: false
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Portals] portalcooldown: 60000
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Portals] clearonremove: false
14:07:12 [INFO] [Multiverse-Core] [Multiverse-Portals] Special Code: FRN001
14:07:12 [INFO] [Multiverse-Core] [Multiverse-NetherPortals] Multiverse-NetherPortals Version: 2.4-b529
14:07:12 [INFO] [Multiverse-Core] [Multiverse-NetherPortals] World links: {}
14:07:12 [INFO] [Multiverse-Core] [Multiverse-NetherPortals] Nether Prefix:
14:07:12 [INFO] [Multiverse-Core] [Multiverse-NetherPortals] Nether Suffix: _nether
14:07:12 [INFO] [Multiverse-Core] [Multiverse-NetherPortals] Special Code: FRN001
Tell me, if you need any other information.
That's the issue I've run into, is that it's most likely a problem of players being stored in the wrong world's player list, but still haven't been able to find any conclusive evidence any direction of what's causing it. Whether it's a plugin problem or a bukkit problem.
Thanks for the info, @WoAnerges. I'm going to close this ticket as it's not a VNP issue, but I am still working to figure out the cause because it's a problem for any plugin that wishes to trigger effects like smoke that players can see.
It's an explosion. Fun feature request, by default disabled. If you don't want it triggering, don't give yourself vanish.explode :)