Added undisguise message for undisguiseentity

This commit is contained in:
libraryaddict 2013-11-24 06:43:52 +13:00
parent 951d60f0aa
commit 15a8974d1e

View File

@ -1,6 +1,5 @@
package me.libraryaddict.disguise.commands;
import me.libraryaddict.disguise.DisguiseListener;
import org.bukkit.ChatColor;
@ -8,7 +7,6 @@ import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
public class UndisguiseEntityCommand implements CommandExecutor {
private DisguiseListener listener;
@ -24,6 +22,7 @@ public class UndisguiseEntityCommand implements CommandExecutor {
}
if (sender.hasPermission("libsdisguises.undisguiseentity")) {
listener.setSlap(sender.getName(), null);
sender.sendMessage(ChatColor.RED + "Right click a disguised entity to undisguise them!");
} else
sender.sendMessage(ChatColor.RED + "You are forbidden to use this command!");
return true;