Multiverse-SignPortals

Multiverse-SignPortals

367k Downloads

Using sign on Nether Portal then Entering Portal does not teleport.

acidnine opened this issue ยท 3 comments

commented

Running multiverse-core with multiverse-signportals and bukkit 1185

Getting this in the console when I create a nether portal, attach a sign (which will teleport if right clicked when green, doesn't work if turns blue), then enter the portal, after exiting the portal the sign [mv] turns blue.

I'm assuming this is because of the build of bukkit I am running...

12:57:34 [SEVERE] Could not pass event PLAYER_PORTAL to Multiverse-SignPortals
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at com.onarandombox.MultiverseSignPortals.utils.SignTools.setColor(SignTools.java:21)
        at com.onarandombox.MultiverseSignPortals.utils.PortalDetector.invalidateOtherSigns(PortalDetector.java:140)
        at com.onarandombox.MultiverseSignPortals.utils.PortalDetector.processSigns(PortalDetector.java:116)
        at com.onarandombox.MultiverseSignPortals.utils.PortalDetector.getNotchPortalDestination(PortalDetector.java:71)
        at com.onarandombox.MultiverseSignPortals.listeners.MVSPPlayerListener.onPlayerPortal(MVSPPlayerListener.java:50)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.ServerConfigurationManager.f(ServerConfigurationManager.java:308)
        at net.minecraft.server.EntityPlayer.b(EntityPlayer.java:278)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:305)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        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:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
12:57:34 [SEVERE] Could not pass event PLAYER_PORTAL to Multiverse-Core
java.lang.NullPointerException
        at com.onarandombox.MultiverseCore.listeners.MVPlayerListener.onPlayerPortal(MVPlayerListener.java:152)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.ServerConfigurationManager.f(ServerConfigurationManager.java:308)
        at net.minecraft.server.EntityPlayer.b(EntityPlayer.java:278)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:305)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        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:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
commented

nah this looks like I screwed up. will investigate later.

commented

Fixed in 9054b6a

commented

Ok, pretty sure I know what this is, you have another sign around the portal. It's still a bug on my part, but removing other signs near that portal should make this go away until I push a fix.