mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-27 05:00:08 +08:00
Code cleanup.
This commit is contained in:
parent
d8288afe04
commit
5755755c15
@ -66,7 +66,7 @@ public boolean hasPermission(String name, String permission) {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "static-access", "deprecation" })
|
||||
@SuppressWarnings({ "static-access" })
|
||||
public boolean inGroup(String name, String group) {
|
||||
try {
|
||||
Player player = server.getPlayer(name);
|
||||
@ -82,7 +82,7 @@ public boolean inGroup(String name, String group) {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "static-access", "deprecation" })
|
||||
@SuppressWarnings({ "static-access" })
|
||||
public String[] getGroups(String name) {
|
||||
try {
|
||||
Player player = server.getPlayer(name);
|
||||
|
@ -20,7 +20,6 @@
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class CommandContext {
|
||||
protected String[] args;
|
||||
|
Loading…
Reference in New Issue
Block a user