fix duplicate [Vault] in messages

This commit is contained in:
Nick Minkler 2014-05-23 22:30:05 -07:00
parent 484bb026cc
commit 111cea97a7
1 changed files with 7 additions and 7 deletions

View File

@ -201,7 +201,7 @@ public class Vault extends JavaPlugin {
} catch (IOException e) {
// ignore exception
}
log.info(String.format("[%s] Enabled Version %s", getDescription().getName(), getDescription().getVersion()));
log.info(String.format("Enabled Version %s", getDescription().getVersion()));
}
/**
@ -404,10 +404,10 @@ public class Vault extends JavaPlugin {
if (packagesExists(packages)) {
Chat chat = hookClass.getConstructor(Plugin.class, Permission.class).newInstance(this, perms);
sm.register(Chat.class, chat, this, priority);
log.info(String.format("[%s][Chat] %s found: %s", getDescription().getName(), name, chat.isEnabled() ? "Loaded" : "Waiting"));
log.info(String.format("[Chat] %s found: %s", name, chat.isEnabled() ? "Loaded" : "Waiting"));
}
} catch (Exception e) {
log.severe(String.format("[%s][Chat] There was an error hooking %s - check to make sure you're using a compatible version!", getDescription().getName(), name));
log.severe(String.format("[Chat] There was an error hooking %s - check to make sure you're using a compatible version!", name));
}
}
@ -416,10 +416,10 @@ public class Vault extends JavaPlugin {
if (packagesExists(packages)) {
Economy econ = hookClass.getConstructor(Plugin.class).newInstance(this);
sm.register(Economy.class, econ, this, priority);
log.info(String.format("[%s][Economy] %s found: %s", getDescription().getName(), name, econ.isEnabled() ? "Loaded" : "Waiting"));
log.info(String.format("[Economy] %s found: %s", name, econ.isEnabled() ? "Loaded" : "Waiting"));
}
} catch (Exception e) {
log.severe(String.format("[%s][Economy] There was an error hooking %s - check to make sure you're using a compatible version!", getDescription().getName(), name));
log.severe(String.format("[Economy] There was an error hooking %s - check to make sure you're using a compatible version!", name));
}
}
@ -428,10 +428,10 @@ public class Vault extends JavaPlugin {
if (packagesExists(packages)) {
Permission perms = hookClass.getConstructor(Plugin.class).newInstance(this);
sm.register(Permission.class, perms, this, priority);
log.info(String.format("[%s][Permission] %s found: %s", getDescription().getName(), name, perms.isEnabled() ? "Loaded" : "Waiting"));
log.info(String.format("[Permission] %s found: %s", name, perms.isEnabled() ? "Loaded" : "Waiting"));
}
} catch (Exception e) {
log.severe(String.format("[%s][Permission] There was an error hooking %s - check to make sure you're using a compatible version!", getDescription().getName(), name));
log.severe(String.format("[Permission] There was an error hooking %s - check to make sure you're using a compatible version!", name));
}
}