From 35783ee4295d7a415e0de3a0a78ffcd050770d41 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Fri, 24 May 2013 00:10:39 +0100 Subject: [PATCH] Forgot to push Essentials spawn changes. --- .../src/com/earth2me/essentials/spawn/Commandspawn.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java index be34d39bd..b59f0a0fe 100644 --- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java +++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java @@ -27,7 +27,7 @@ public class Commandspawn extends EssentialsCommand charge.isAffordableFor(user); if (args.length > 0 && user.isAuthorized("essentials.spawn.others")) { - final User otherUser = getPlayer(server, args, 0); + final User otherUser = getPlayer(server, user, args, 0); respawn(otherUser, charge); if (!otherUser.equals(user)) { @@ -49,7 +49,7 @@ public class Commandspawn extends EssentialsCommand { throw new NotEnoughArgumentsException(); } - final User user = getPlayer(server, args, 0); + final User user = getPlayer(server, args, 0, true, false); respawn(user, null); user.sendMessage(_("teleportAtoB", Console.NAME, "spawn")); sender.sendMessage(_("teleporting"));