This commit is contained in:
lordboos 2011-07-26 16:14:06 +00:00
parent b45eb7c9c5
commit 01be0c7e7f
2 changed files with 9 additions and 9 deletions

View File

@ -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()) {
} }

View File

@ -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;