mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-21 03:15:59 +01:00
Move PlayerTeleportEvent occurrences into World
This commit is contained in:
@@ -35,6 +35,11 @@ public final class PlayerTeleportEvent extends PlayerEvent implements Cancellabl
|
||||
}
|
||||
|
||||
public enum TeleportType {
|
||||
/**
|
||||
* There is no specified reason to teleport.
|
||||
*/
|
||||
INTERNAL,
|
||||
|
||||
/**
|
||||
* The player has asked to teleport to a waypoint.
|
||||
*/
|
||||
@@ -45,6 +50,11 @@ public final class PlayerTeleportEvent extends PlayerEvent implements Cancellabl
|
||||
*/
|
||||
MAP,
|
||||
|
||||
/**
|
||||
* The player has asked to teleport into a dungeon.
|
||||
*/
|
||||
DUNGEON,
|
||||
|
||||
/**
|
||||
* The player has asked to teleport using the command.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user