mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-01 05:18:00 +01:00
Make our CommandSender look like a ConsoleCommandSender, because some
plugins insist on that.
This commit is contained in:
parent
b3ebec3580
commit
5511a92bdf
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>cc.co.evenprime.bukkit</groupId>
|
||||
<artifactId>NoCheat</artifactId>
|
||||
<version>2.24a</version>
|
||||
<version>2.24b</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>NoCheat</name>
|
||||
<properties>
|
||||
|
@ -2,11 +2,11 @@ package cc.co.evenprime.bukkit.nocheat.actions;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Server;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.command.ConsoleCommandSender;
|
||||
import org.bukkit.permissions.PermissibleBase;
|
||||
import org.bukkit.permissions.ServerOperator;
|
||||
|
||||
public class NoCheatCommandSender extends PermissibleBase implements CommandSender {
|
||||
public class NoCheatCommandSender extends PermissibleBase implements ConsoleCommandSender {
|
||||
|
||||
private static final ServerOperator serverOperator = new ServerOperator() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user