VolmitSoftware / Wormholes

See what's on the other side
4 stars 0 forks source link

World unload is not detected by ticking wormholes #51

Closed cyberpwnn closed 7 years ago

cyberpwnn commented 7 years ago
[19:30:08 ERROR]: Could not pass event PlayerInteractEvent to Wormholes v1.2p
org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:234) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at net.minecraft.server.v1_12_R1.PlayerInteractManager.a(PlayerInteractManager.java:448) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:944) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_45]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45]
    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [craftbukkit.jar:git-Spigot-0869666-03f1e37]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
Caused by: java.lang.IllegalStateException: world 'flat' is not loaded
    at com.volmit.wormholes.util.Cuboid.getWorld(Cuboid.java:333) ~[?:?]
    at com.volmit.wormholes.util.Cuboid.iterator(Cuboid.java:861) ~[?:?]
    at com.volmit.wormholes.service.MutexService.isPositionValid(MutexService.java:393) ~[?:?]
    at com.volmit.wormholes.provider.BaseProvider.createPortal(BaseProvider.java:681) ~[?:?]
    at com.volmit.wormholes.provider.BaseProvider.createPortal(BaseProvider.java:673) ~[?:?]
    at com.volmit.wormholes.provider.AutomagicalProvider.constructPortal(AutomagicalProvider.java:315) ~[?:?]
    at com.volmit.wormholes.provider.AutomagicalProvider.ona(AutomagicalProvider.java:193) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[craftbukkit.jar:git-Spigot-0869666-03f1e37]
    ... 17 more