Deprecated EntityCreatePortalEvent
LadyCailinBot opened this issue ยท 4 comments
WORLDGUARD-4086 - Reported by SlimeDog
Spigot 1.14.2 (Jenkins 2323) git-Spigot-03bd4b0-342194e (MC: 1.14.1) (Implementing API version 1.14.1-R0.1-SNAPSHOT)
WorldGuard 7.0.0-SNAPSHOT;1889-2b854f0
On server start-up:
[07:35:46] [Server thread/WARN]: [WorldGuard] "WorldGuard v7.0.0-SNAPSHOT;1889-2b854f0" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.sk89q.worldguard.bukkit.listener.WorldGuardEntityListener.onCreatePortal(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [].
Comment by HAMCORE
I can confirm I have this issue when I use WorldGuard and WorldGuardExtraFlags (don't know id that is calling for the listener or not) on 1.14.2.
31.05 08:11:52 [Server] WARN [WorldGuard] "WorldGuard v7.0.0-SNAPSHOT;1896-a29afe8" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.sk89q.worldguard.bukkit.listener.WorldGuardEntityListener.onCreatePortal(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [].
Edit 1:
Upon further investigation, it looks like it is indeed WorldGuard as WorldGuardExtraFlags is enabled AFTER the error message as shown below.
31.05 08:11:52 [Server] INFO [WorldGuard] Loading region data...
31.05 08:11:52 [Server] WARN [WorldGuard] "WorldGuard v7.0.0-SNAPSHOT;1896-a29afe8" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.sk89q.worldguard.bukkit.listener.WorldGuardEntityListener.onCreatePortal(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [].
31.05 08:11:52 [Server] INFO [MobHunting] Enabling compatibility with WorldGuard (7.0.0-SNAPSHOT;1896-a29afe8)
31.05 08:11:52 [Server] INFO [WorldGuardExtraFlags] Enabling WorldGuardExtraFlags v4.1.2
31.05 08:11:52 [Server] INFO [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.TeleportOnEntryFlagHandler
Comment by HAMCORE
@wizjany I understand that, it was more or less a bump.