lectron / kosmos

Plugin for Minecraft multi-world, orchestrated by multi-server. Interact as one universe.
GNU General Public License v3.0
17 stars 1 forks source link

Cannot do initial load without player being online. #3

Closed viet closed 8 years ago

viet commented 8 years ago
[07:02:00] [Server thread/ERROR]: Could not pass event PlayerTeleportEvent to Minecraftly v1.0-SNAPSHOT
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-PaperSpigot-"8b18730"]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[spigot.jar:git-PaperSpigot-"8b18730"]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-PaperSpigot-"8b18730"]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) ~[spigot.jar:git-PaperSpigot-"8b18730"]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) ~[spigot.jar:git-PaperSpigot-"8b18730"]
    at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.teleport(CraftPlayer.java:541) ~[spigot.jar:git-PaperSpigot-"8b18730"]
    at com.minecraftly.bukkit.utilities.BukkitUtilities.lambda$asyncLoadAndTeleport$12(BukkitUtilities.java:190) ~[?:?]
    at org.bukkit.craftbukkit.v1_8_R3.CraftWorld$2.run(CraftWorld.java:131) [spigot.jar:git-PaperSpigot-"8b18730"]
    at net.minecraft.server.v1_8_R3.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:140) [spigot.jar:git-PaperSpigot-"8b18730"]
    at org.bukkit.craftbukkit.v1_8_R3.CraftWorld.getChunkAtAsync(CraftWorld.java:128) [spigot.jar:git-PaperSpigot-"8b18730"]
    at org.bukkit.craftbukkit.v1_8_R3.CraftWorld.getChunkAtAsync(CraftWorld.java:139) [spigot.jar:git-PaperSpigot-"8b18730"]
    at com.minecraftly.bukkit.utilities.BukkitUtilities.asyncLoadAndTeleport(BukkitUtilities.java:189) [Minecraftly.jar:?]
    at com.minecraftly.bukkit.modules.playerworlds.ModulePlayerWorlds.spawnInWorld(ModulePlayerWorlds.java:272) [Minecraftly.jar:?]
    at com.minecraftly.bukkit.modules.playerworlds.ModulePlayerWorlds.joinWorld(ModulePlayerWorlds.java:248) [Minecraftly.jar:?]
    at com.minecraftly.bukkit.modules.playerworlds.handlers.PlayerListener.onPacketGotoWorld(PlayerListener.java:68) [Minecraftly.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_74]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_74]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_74]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_74]
    at com.ikeirnez.pluginmessageframework.internal.GatewaySupport.receivePacket(GatewaySupport.java:179) [Minecraftly.jar:?]
    at com.ikeirnez.pluginmessageframework.internal.GatewaySupport.incomingPayload(GatewaySupport.java:119) [Minecraftly.jar:?]
    at com.ikeirnez.pluginmessageframework.bukkit.ImplBukkitGateway.onPluginMessageReceived(ImplBukkitGateway.java:53) [Minecraftly.jar:?]
    at org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage(StandardMessenger.java:427) [spigot.jar:git-PaperSpigot-"8b18730"]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:2154) [spigot.jar:git-PaperSpigot-"8b18730"]
    at net.minecraft.server.v1_8_R3.PacketPlayInCustomPayload.a(SourceFile:55) [spigot.jar:git-PaperSpigot-"8b18730"]
    at net.minecraft.server.v1_8_R3.PacketPlayInCustomPayload.a(SourceFile:8) [spigot.jar:git-PaperSpigot-"8b18730"]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-PaperSpigot-"8b18730"]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_74]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_74]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-PaperSpigot-"8b18730"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [spigot.jar:git-PaperSpigot-"8b18730"]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [spigot.jar:git-PaperSpigot-"8b18730"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [spigot.jar:git-PaperSpigot-"8b18730"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [spigot.jar:git-PaperSpigot-"8b18730"]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_74]
Caused by: java.lang.UnsupportedOperationException: Cannot do initial load without player being online.
    at com.minecraftly.bukkit.user.modularisation.UserData.initialLoad(UserData.java:66) ~[?:?]
    at com.minecraftly.bukkit.modules.playerworlds.data.world.WorldUserData.initialLoad(WorldUserData.java:177) ~[?:?]
    at com.minecraftly.bukkit.modules.playerworlds.data.world.WorldUserData.load(WorldUserData.java:223) ~[?:?]
    at com.minecraftly.bukkit.modules.playerworlds.data.world.WorldUserDataContainer.load(WorldUserDataContainer.java:49) ~[?:?]
    at com.minecraftly.bukkit.modules.playerworlds.data.world.WorldUserDataContainer.load(WorldUserDataContainer.java:18) ~[?:?]
    at com.minecraftly.bukkit.user.modularisation.ContainerUserData.getOrLoad(ContainerUserData.java:33) ~[?:?]
    at com.minecraftly.bukkit.modules.playerworlds.data.world.WorldStorageHandler.onPlayerTeleport(WorldStorageHandler.java:64) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_74]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_74]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_74]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_74]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[spigot.jar:git-PaperSpigot-"8b18730"]
    ... 34 more