Class PlayerChangedWorldEvent


  • public class PlayerChangedWorldEvent
    extends PlayerEvent
    Called when a player switches to another world.
    • Constructor Detail

      • PlayerChangedWorldEvent

        public PlayerChangedWorldEvent​(Player player,
                                       World from)
    • Method Detail

      • getFrom

        public World getFrom()
        Gets the world the player is switching from.
        Returns:
        player's previous world
      • getHandlerList

        public static HandlerList getHandlerList()