Deprecate old player teleportation code.

This commit is contained in:
BONNe 2022-09-30 21:41:02 +03:00
parent bf87cca754
commit f01e5540c7
2 changed files with 5 additions and 1 deletions

View File

@ -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 {

View File

@ -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;