mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 12:32:29 +00:00
Does not mean the added functions are implemented in the prior versions, but it means they all compile against the same API and ZS version
23 lines
451 B
Java
23 lines
451 B
Java
package minetweaker.api.event;
|
|
|
|
import minetweaker.api.player.IPlayer;
|
|
import stanhebben.zenscript.annotations.*;
|
|
|
|
/**
|
|
* @author Stan
|
|
*/
|
|
@ZenClass("minetweaker.event.PlayerLoggedOutEvent")
|
|
public class PlayerLoggedOutEvent {
|
|
|
|
private final IPlayer player;
|
|
|
|
public PlayerLoggedOutEvent(IPlayer player) {
|
|
this.player = player;
|
|
}
|
|
|
|
@ZenGetter("player")
|
|
public IPlayer getPlayer() {
|
|
return player;
|
|
}
|
|
}
|