Class PlayerSwapEvent
java.lang.Object
org.bukkit.event.Event
nl.minetopiasdb.api.events.player.PlayerSwapEvent
public class PlayerSwapEvent
extends org.bukkit.event.Event
Event thrown after the playerdata of two players got swapped
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
Get the UUID of the first playerGet the UUID of the second playerMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerSwapEvent
-
-
Method Details
-
getPlayer1
Get the UUID of the first player- Returns:
- UUID of player
-
getPlayer2
Get the UUID of the second player- Returns:
- UUID of player
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-