JimiIT92 / UniverseGuard2

An easy to use world protection plugin for Sponge
https://ore.spongepowered.org/Francesco_Jimi/Universe-Guard
GNU General Public License v3.0
19 stars 3 forks source link

Error: Could not pass MoveEntityEvent$Teleport$Impl #189

Open drewtorres opened 3 years ago

drewtorres commented 3 years ago

Hello, I've noticed when I use this plugin I get an error from time to time as stated below. Not sure how to fix it. It starting to affect my server where it just shuts it down. Please help. */

[10:42:18] [Server thread/WARN] [Sponge]: / Could not pass the event MoveEntityEvent$Teleport$Impl to an Event Listener! / [10:42:18] [Server thread/WARN] [Sponge]: / / [10:42:18] [Server thread/WARN] [Sponge]: / Since the event can be modified during the event's listener, / [10:42:18] [Server thread/WARN] [Sponge]: / there could be adverse side effects of the exception occurring / [10:42:18] [Server thread/WARN] [Sponge]: / such that duplications or other game breaking issues could exist. / [10:42:18] [Server thread/WARN] [Sponge]: / / [10:42:18] [Server thread/WARN] [Sponge]: / Due to the nature of the exception, this is not likely an exception / [10:42:18] [Server thread/WARN] [Sponge]: / that is covered by SpongeForge or Forge itself, and therefore should / [10:42:18] [Server thread/WARN] [Sponge]: / be reported to the mod/plugin author first prior to reporting to / [10:42:18] [Server thread/WARN] [Sponge]: / Sponge or Forge. / [10:42:18] [Server thread/WARN] [Sponge]: / / [10:42:18] [Server thread/WARN] [Sponge]: / Owning Mod/Plugin: universeguard / [10:42:18] [Server thread/WARN] [Sponge]: / Exception: / [10:42:18] [Server thread/WARN] [Sponge]: / java.lang.ClassCastException: / [10:42:18] [Server thread/WARN] [Sponge]: / com.universeguard.region.LocalRegion / [10:42:18] [Server thread/WARN] [Sponge]: / cannot be cast to / [10:42:18] [Server thread/WARN] [Sponge]: / com.universeguard.region.GlobalRegio / [10:42:18] [Server thread/WARN] [Sponge]: / / [10:42:18] [Server thread/WARN] [Sponge]: / com.universeguard.utils.RegionUtils.getGlobalRegion(RegionUtils.java:1250) / [10:42:18] [Server thread/WARN] [Sponge]: / com.universeguard.utils.RegionUtils.getRegion(RegionUtils.java:1192) / [10:42:18] [Server thread/WARN] [Sponge]: / com.universeguard.event.flags.FlagExitListener.handleEvent(FlagExitListener.java:46) / [10:42:18] [Server thread/WARN] [Sponge]: / com.universeguard.event.flags.FlagExitListener.onExit(FlagExitListener.java:33) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.common.event.listener.MoveEntityEventListener_FlagExitListener_onExit241.handle(Unknown Source) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:97) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:383) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.extendedPost(SpongeModEventManager.java:458) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:419) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:467) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:249) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.common.entity.EntityUtil.handleDisplaceEntityTeleportEvent(EntityUtil.java:691) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.common.entity.EntityUtil.handleDisplaceEntityTeleportEvent(EntityUtil.java:673) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraft.entity.Entity.setLocation(Entity.java:4617) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraft.entity.Entity.setTransform(Entity.java:4783) / [10:42:18] [Server thread/WARN] [Sponge]: / io.github.nucleuspowered.nucleus.services.impl.teleport.SafeTeleportService.teleportPlayer(SafeTeleportService.java:167) / [10:42:18] [Server thread/WARN] [Sponge]: / io.github.nucleuspowered.nucleus.services.impl.teleport.SafeTeleportService.teleportPlayerSmart(SafeTeleportService.java:90) / [10:42:18] [Server thread/WARN] [Sponge]: / io.github.nucleuspowered.nucleus.services.impl.teleport.SafeTeleportService.teleportPlayerSmart(SafeTeleportService.java:68) / [10:42:18] [Server thread/WARN] [Sponge]: / io.github.nucleuspowered.nucleus.modules.fly.listeners.FlyListener.safeTeleport(FlyListener.java:145) / [10:42:18] [Server thread/WARN] [Sponge]: / io.github.nucleuspowered.nucleus.modules.fly.listeners.FlyListener.lambda$null$2(FlyListener.java:61) / [10:42:18] [Server thread/WARN] [Sponge]: / java.util.Optional.ifPresent(Unknown Source) / [10:42:18] [Server thread/WARN] [Sponge]: / io.github.nucleuspowered.nucleus.modules.fly.listeners.FlyListener.lambda$onPlayerJoin$3(FlyListener.java:52) / [10:42:18] [Server thread/WARN] [Sponge]: / java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) / [10:42:18] [Server thread/WARN] [Sponge]: / java.util.concurrent.CompletableFuture.uniAcceptStage(Unknown Source) / [10:42:18] [Server thread/WARN] [Sponge]: / java.util.concurrent.CompletableFuture.thenAccept(Unknown Source) / [10:42:18] [Server thread/WARN] [Sponge]: / io.github.nucleuspowered.nucleus.modules.fly.listeners.FlyListener.onPlayerJoin(FlyListener.java:52) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.common.event.listener.JoinListener_FlyListener_onPlayerJoin142.handle(Unknown Source) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:97) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:383) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:347) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.extendedPost(SpongeModEventManager.java:450) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:419) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:467) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:249) / [10:42:18] [Server thread/WARN] [Sponge]: / org.spongepowered.common.util.NetworkUtil.initializeConnectionToPlayer(NetworkUtil.java:384) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:2407) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:255) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:72) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:205) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:790) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) / [10:42:18] [Server thread/WARN] [Sponge]: / net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) / [10:42:18] [Server thread/WARN] [Sponge]: /* java.lang.Thread.run(Unknown Source)