summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-02-21 21:39:25 +0000
committerKHobbits <rob@khobbits.co.uk>2012-02-21 21:39:25 +0000
commited7fe9213f260147b00dc33088fb4f788cf74078 (patch)
treeda3c29bf5a7727ab9ef97b80bfce5d8403ad5c6f
parent9bd0c33fef968ecac42054888437de96509a433c (diff)
downloadEssentials-ed7fe9213f260147b00dc33088fb4f788cf74078.tar
Essentials-ed7fe9213f260147b00dc33088fb4f788cf74078.tar.gz
Essentials-ed7fe9213f260147b00dc33088fb4f788cf74078.tar.lz
Essentials-ed7fe9213f260147b00dc33088fb4f788cf74078.tar.xz
Essentials-ed7fe9213f260147b00dc33088fb4f788cf74078.zip
Fix /sudo message display.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandsudo.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java b/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java
index 86394e502..d43d486b9 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandsudo.java
@@ -1,6 +1,7 @@
package com.earth2me.essentials.commands;
import com.earth2me.essentials.User;
+import com.earth2me.essentials.Util;
import org.bukkit.Server;
import org.bukkit.command.CommandSender;
import org.bukkit.command.PluginCommand;
@@ -36,7 +37,7 @@ public class Commandsudo extends EssentialsCommand
}
//TODO: Translate this.
- sender.sendMessage("Forcing " + user.getDisplayName() + " to run: /" + command + " " + arguments);
+ sender.sendMessage("Forcing " + user.getDisplayName() + " to run: /" + command + " " + getFinalArg(arguments, 0));
final PluginCommand execCommand = ess.getServer().getPluginCommand(command);
if (execCommand != null)