mirror of
https://github.com/LordBoos/boosCooldowns.git
synced 2024-11-01 08:20:32 +01:00
fixes
This commit is contained in:
parent
b45eb7c9c5
commit
01be0c7e7f
@ -37,16 +37,16 @@ public class boosCoolDown extends JavaPlugin {
|
||||
PluginDescriptionFile pdfFile = this.getDescription();
|
||||
log.info("[" + pdfFile.getName() + "]" + " version " + pdfFile.getVersion() + " by " + pdfFile.getAuthors() + " is enabled!");
|
||||
|
||||
boosConfigManager bConfigManager = new boosConfigManager(this);
|
||||
bConfigManager.load();
|
||||
conf = bConfigManager.conf;
|
||||
boosCoolDownManager bCoolDownManager = new boosCoolDownManager(this);
|
||||
bCoolDownManager.load();
|
||||
if (bConfigManager.getClearOnRestart() == true) {
|
||||
bCoolDownManager.clear();
|
||||
boosConfigManager boosConfigManager = new boosConfigManager(this);
|
||||
boosConfigManager.load();
|
||||
conf = boosConfigManager.conf;
|
||||
boosCoolDownManager boosCoolDownManager = new boosCoolDownManager(this);
|
||||
boosCoolDownManager.load();
|
||||
if (boosConfigManager.getClearOnRestart() == true) {
|
||||
boosCoolDownManager.clear();
|
||||
} else {
|
||||
}
|
||||
confusers = bCoolDownManager.confusers;
|
||||
confusers = boosCoolDownManager.confusers;
|
||||
|
||||
if (setupPermissions()) {
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ public class boosCoolDownPlayerListener extends PlayerListener {
|
||||
on = false;
|
||||
}
|
||||
if(boosCoolDown.permissions){
|
||||
if(cz.boosik.boosCooldown.boosCoolDown.Permissions.permission(player, "bCoolDown.exception") || player.isOp()) {
|
||||
if(cz.boosik.boosCooldown.boosCoolDown.Permissions.permission(player, "boosCoolDown.exception") || player.isOp()) {
|
||||
on = false;
|
||||
} else {
|
||||
on = true;
|
||||
|
Loading…
Reference in New Issue
Block a user