Documentation for the PlayerSwitchAvatarEvent event in the Irminsul game server API
PlayerSwitchAvatarEvent is a cancellabe event fired when a player attempts to switch their active on-field avatar (character).
boolean, inherited
Whether this event has been cancelled
final io.irminsul.common.game.player.Player
io.irminsul.common.game.player.Player
The player switching avatars. Guaranteed non-null.
final io.irminsul.common.game.avatar.Avatar
io.irminsul.common.game.avatar.Avatar
The avatar the player is switching from. Guaranteed non-null.
The avatar the player is switching to. Guaranteed non-null.
Last updated 1 year ago