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();
|
PluginDescriptionFile pdfFile = this.getDescription();
|
||||||
log.info("[" + pdfFile.getName() + "]" + " version " + pdfFile.getVersion() + " by " + pdfFile.getAuthors() + " is enabled!");
|
log.info("[" + pdfFile.getName() + "]" + " version " + pdfFile.getVersion() + " by " + pdfFile.getAuthors() + " is enabled!");
|
||||||
|
|
||||||
boosConfigManager bConfigManager = new boosConfigManager(this);
|
boosConfigManager boosConfigManager = new boosConfigManager(this);
|
||||||
bConfigManager.load();
|
boosConfigManager.load();
|
||||||
conf = bConfigManager.conf;
|
conf = boosConfigManager.conf;
|
||||||
boosCoolDownManager bCoolDownManager = new boosCoolDownManager(this);
|
boosCoolDownManager boosCoolDownManager = new boosCoolDownManager(this);
|
||||||
bCoolDownManager.load();
|
boosCoolDownManager.load();
|
||||||
if (bConfigManager.getClearOnRestart() == true) {
|
if (boosConfigManager.getClearOnRestart() == true) {
|
||||||
bCoolDownManager.clear();
|
boosCoolDownManager.clear();
|
||||||
} else {
|
} else {
|
||||||
}
|
}
|
||||||
confusers = bCoolDownManager.confusers;
|
confusers = boosCoolDownManager.confusers;
|
||||||
|
|
||||||
if (setupPermissions()) {
|
if (setupPermissions()) {
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ public class boosCoolDownPlayerListener extends PlayerListener {
|
|||||||
on = false;
|
on = false;
|
||||||
}
|
}
|
||||||
if(boosCoolDown.permissions){
|
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;
|
on = false;
|
||||||
} else {
|
} else {
|
||||||
on = true;
|
on = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user