Fix NPE when teleporting someone from console

This commit is contained in:
Eric Stokes 2011-06-26 16:41:34 -06:00
parent 4effff9145
commit 252e15d48e

View File

@ -81,7 +81,7 @@ public class TeleportCommand extends BaseCommand {
}
}
Location l = this.playerTeleporter.getSafeDestination(this.plugin.getServer().getWorld(d.getName()).getSpawnLocation());
teleporter.teleport(l);
teleportee.teleport(l);
}
}