mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 05:05:18 +01:00
Deprecate old player teleportation code.
This commit is contained in:
parent
bf87cca754
commit
f01e5540c7
@ -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 {
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user