#729 Refactor spawn handling into separate service (work in progress)
This commit is contained in:
@@ -21,6 +21,7 @@ public class SpawnTeleportEvent extends AbstractTeleportEvent {
|
||||
* @param to The teleport destination
|
||||
* @param isAuthenticated Whether or not the player is logged in
|
||||
*/
|
||||
// TODO ljacqu 20160611: We only ever call this with from = player.getLocation() -> could be done in constructor
|
||||
public SpawnTeleportEvent(Player player, Location from, Location to, boolean isAuthenticated) {
|
||||
super(false, player, from, to);
|
||||
this.isAuthenticated = isAuthenticated;
|
||||
|
||||
Reference in New Issue
Block a user