oops, forgot to add getters
This commit is contained in:
parent
b47d24c8b2
commit
0cfede6187
2 changed files with 9 additions and 1 deletions
|
@ -21,4 +21,12 @@ public class TeleportEvent extends Event
|
|||
this.position=position;
|
||||
this.player=player;
|
||||
}
|
||||
|
||||
public ServerPlayer getPlayer() {
|
||||
return player;
|
||||
}
|
||||
|
||||
public WorldPosition getPosition() {
|
||||
return position;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue