FallenMoonNetwork / CanaryMod

Server administration mod and API for Minecraft beta multiplayer server
http://canarymod.net
GNU Lesser General Public License v3.0
20 stars 14 forks source link

Teleport commands not working across dimensions (Build #81) #57

Closed BluXDragon closed 11 years ago

BluXDragon commented 11 years ago

Issue found on Dev Build #81 The commands "/spawn", "/warp", "/home", "/tp" do not work across dimensions.

eg. Player1 is in the nether, Player2 is in the overworld. Player 1 uses "/tp Player2". Player 1 will be receive a loading screen, and will be teleported to Player2's co-ordinates but not Player2's world. The loading screen appears regardless of teleport range, and chunks will reload.

Some times, during the loading screen, the player will be kicked with "Internal Server Error";

StackTrace moved to pastebin; http://pastebin.com/NLD6uRbp

14mRh4X0r commented 11 years ago

Including stack trace here for readability:

2012-11-07 19:39:13 [WARNING] Failed to handle packet: java.lang.IllegalStateException: Failed to add player. OEntityPlayerMP['BluXDragon'/19589, l='world', x=0.50, y=64.00, z=0.50] already is in chunk -10, -10
java.lang.IllegalStateException: Failed to add player. OEntityPlayerMP['BluXDragon'/19589, l='world', x=0.50, y=64.00, z=0.50] already is in chunk -10, -10
        at OPlayerInstance.a(OPlayerInstance.java:26)
        at OPlayerManager.a(OPlayerManager.java:87)
        at OPlayerManager.d(OPlayerManager.java:181)
        at OServerConfigurationManager.d(OServerConfigurationManager.java:171)
        at ONetServerHandler.a(ONetServerHandler.java:287)
        at OPacket10Flying.a(SourceFile:136)
        at OTcpConnection.b(SourceFile:341)
        at ONetServerHandler.d(ONetServerHandler.java:44)
        at ONetworkListenThread.b(SourceFile:35)
        at ODedicatedServerListenThread.b(SourceFile:30)
        at OMinecraftServer.r(OMinecraftServer.java:452)
        at ODedicatedServer.r(SourceFile:233)
        at OMinecraftServer.q(OMinecraftServer.java:383)
        at OMinecraftServer.run(OMinecraftServer.java:322)
        at OThreadMinecraftServer.run(SourceFile:818)
BluXDragon commented 11 years ago

I took it out because I didn't know code boxes existed here >.>