summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn/src/com
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-05-24 00:10:39 +0100
committerKHobbits <rob@khobbits.co.uk>2013-05-24 00:10:39 +0100
commit35783ee4295d7a415e0de3a0a78ffcd050770d41 (patch)
tree4f92e79d6b1d00306f11e2c22daea4b3318088f1 /EssentialsSpawn/src/com
parent66911bb0a9fb36fce4f164697b307ce3c5f0c547 (diff)
downloadEssentials-35783ee4295d7a415e0de3a0a78ffcd050770d41.tar
Essentials-35783ee4295d7a415e0de3a0a78ffcd050770d41.tar.gz
Essentials-35783ee4295d7a415e0de3a0a78ffcd050770d41.tar.lz
Essentials-35783ee4295d7a415e0de3a0a78ffcd050770d41.tar.xz
Essentials-35783ee4295d7a415e0de3a0a78ffcd050770d41.zip
Forgot to push Essentials spawn changes.
Diffstat (limited to 'EssentialsSpawn/src/com')
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java4
1 files 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"));