Exception when trying to use a unlinked portal
EvilOlaf opened this issue ยท 0 comments
This happens when I create a portal in a non-default world (in my case 'Farm') that has no linked nether world to itself.
[16:43:32 ERROR]: Could not pass event PlayerPortalEvent to Multiverse-NetherPortals v2.5-b689
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.PlayerList.changeDimension(PlayerList.java:671) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.EntityPlayer.c(EntityPlayer.java:536) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.Entity.K(Entity.java:280) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.EntityLiving.K(EntityLiving.java:169) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.Entity.t_(Entity.java:247) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.EntityLiving.t_(EntityLiving.java:1448) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.EntityHuman.t_(EntityHuman.java:173) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.EntityPlayer.l(EntityPlayer.java:285) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:382) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.PacketPlayInFlying.a(SourceFile:126) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.PacketPlayInFlying$PacketPlayInPositionLook.a(SourceFile:18) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: java.lang.IllegalArgumentException: Cannot use null location!
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at org.bukkit.event.player.PlayerMoveEvent.validateLocation(PlayerMoveEvent.java:91) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at org.bukkit.event.player.PlayerMoveEvent.setTo(PlayerMoveEvent.java:86) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at com.onarandombox.MultiverseNetherPortals.listeners.MVNPPlayerListener.onPlayerPortal(MVNPPlayerListener.java:90) ~[?:?]
at sun.reflect.GeneratedMethodAccessor335.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
... 23 more
Beside this exception it works well. I got bounced back from the portal and get the note that "this portal goes nowhere!".
[16:45:03 INFO]: Olaf issued server command: /mv version
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] Multiverse-Core Version: 2.5-b699
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] Bukkit Version: git-Spigot-76236cb-62a2169 (MC: 1.8.8)
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] Loaded Worlds: [{"MVWorld@964781504":{"Gen":null,"Type":"NORMAL","Env":"NETHER","Name":"Survival_nether"}}, {"MVWorld@355717330":{"Gen":"PlotSquared","Type":"NORMAL","Env":"NORMAL","Name":"test"}}, {"MVWorld@1505259346":{"Gen":"PlotSquared","Type":"NORMAL","Env":"NORMAL","Name":"city"}}, {"MVWorld@259993943":{"Gen":"null","Type":"NORMAL","Env":"NORMAL","Name":"Farm"}}, {"MVWorld@1029892637":{"Gen":"null","Type":"NORMAL","Env":"NETHER","Name":"Nether"}}, {"MVWorld@920393763":{"Gen":"null","Type":"NORMAL","Env":"THE_END","Name":"Ende"}}, {"MVWorld@738468693":{"Gen":"null","Type":"NORMAL","Env":"NORMAL","Name":"Survival"}}, {"MVWorld@1518819851":{"Gen":"null","Type":"NORMAL","Env":"NORMAL","Name":"kreativ"}}, {"MVWorld@1889493316":{"Gen":"null","Type":"NORMAL","Env":"NORMAL","Name":"events"}}]
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] Multiverse Plugins Loaded: 1
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] Economy being used: iConomy 7
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] Permissions Plugin: Bukkit Permissions (SuperPerms)
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] Dumping Config Values: (version 2.9)
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] messagecooldown: 5000
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] teleportcooldown: 1000
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] worldnameprefix: false
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] worldnameprefixFormat: [%world%]%chat%
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] enforceaccess: false
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] displaypermerrors: true
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] teleportintercept: true
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] firstspawnoverride: true
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] firstspawnworld: Survival
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] debug: 0
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-Core] Special Code: FRN002
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-NetherPortals] Multiverse-NetherPortals Version: 2.5-b689
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-NetherPortals] World links: {city=Survival_nether, Survival=Survival}
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-NetherPortals] Nether Prefix:
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-NetherPortals] Nether Suffix: _nether
[16:45:03 INFO]: [Multiverse-Core] [Multiverse-NetherPortals] Special Code: FRN001
Thanks for reading
Best regards
Olaf