megtobb fix
This commit is contained in:
@@ -41,14 +41,11 @@ public class WolfFfaCommand implements CommandExecutor, TabCompleter {
|
||||
}
|
||||
|
||||
private boolean checkItem(String key, String kittype, Player player) {
|
||||
String path = "kits." + kittype + "." + player.getUniqueId();
|
||||
String path = "kits." + kittype + "." + player.getUniqueId() + "." + key;
|
||||
|
||||
if (plugin.getConfig().contains(path)) {
|
||||
return (boolean) plugin.getConfig().get(path + "." + key);
|
||||
return plugin.getConfig().getBoolean(path, false);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user