Interface TeleportListener
- All Known Implementing Classes:
PaperChase
public interface TeleportListener
Implementing classes can be notified that a player teleported.
- Author:
- hendrik
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onTeleport(Player player, boolean playerAction)
This method is called when a player teleports
-
Method Details
-
onTeleport
This method is called when a player teleports- Parameters:
player
- the player teleportingplayerAction
- true, if the player actively teleported; false for all teleports
-