diff --git a/src/main/java/world/bentobox/bentobox/listeners/PlayerEntityPortalEvent.java b/src/main/java/world/bentobox/bentobox/listeners/PlayerEntityPortalEvent.java index f1c29abc3..a1bd8f07d 100644 --- a/src/main/java/world/bentobox/bentobox/listeners/PlayerEntityPortalEvent.java +++ b/src/main/java/world/bentobox/bentobox/listeners/PlayerEntityPortalEvent.java @@ -17,7 +17,7 @@ import world.bentobox.bentobox.database.objects.Island; /** * Abstracts PlayerPortalEvent and EntityPortalEvent * @author tastybento - * + * @deprecated replaced not used in new listeners. */ public class PlayerEntityPortalEvent { diff --git a/src/main/java/world/bentobox/bentobox/listeners/PortalTeleportationListener.java b/src/main/java/world/bentobox/bentobox/listeners/PortalTeleportationListener.java index 28a56a8f1..7d0ae42a4 100644 --- a/src/main/java/world/bentobox/bentobox/listeners/PortalTeleportationListener.java +++ b/src/main/java/world/bentobox/bentobox/listeners/PortalTeleportationListener.java @@ -40,7 +40,11 @@ import world.bentobox.bentobox.util.teleport.SafeSpotTeleport; * Handles teleportation via the Nether/End portals to the Nether and End dimensions of the worlds added by the GameModeAddons. * * @author tastybento + * @deprecated replaced by better listeners. + * @see world.bentobox.bentobox.listeners.teleports.PlayerTeleportListener + * @see world.bentobox.bentobox.listeners.teleports.EntityTeleportListener */ +@Deprecated public class PortalTeleportationListener implements Listener { private final BentoBox plugin;