fix
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<version>1.11.2-R0.1-SNAPSHOT</version>
|
<version>1.12-pre5-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ public class StaffChatCommand implements CommandExecutor
|
|||||||
@Override
|
@Override
|
||||||
public boolean onCommand(CommandSender sender, Command command, String label, String[] args)
|
public boolean onCommand(CommandSender sender, Command command, String label, String[] args)
|
||||||
{
|
{
|
||||||
|
String noPerm = clr(config.getString("messages.prefix") + config.getString("messages.nopermission"));
|
||||||
if (!sender.hasPermission(plugin.commandPerm))
|
if (!sender.hasPermission(plugin.commandPerm))
|
||||||
{
|
{
|
||||||
String noPerm = clr(config.getString("messages.prefix") + config.getString("messages.nopermission"));
|
|
||||||
sender.sendMessage(noPerm);
|
sender.sendMessage(noPerm);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user