Config overhaul is DONE!

This commit is contained in:
nossr50
2012-04-26 11:53:21 -07:00
parent 295b7a0701
commit 2729b37b76
18 changed files with 136 additions and 180 deletions

View File

@ -44,8 +44,8 @@ public class PtpCommand implements CommandExecutor {
return true;
}
if (PP.getRecentlyHurt() + (Config.ptpCommandCooldown * 1000) > System.currentTimeMillis()) {
player.sendMessage(mcLocale.getString("Party.Teleport.Hurt", new Object[] { Config.ptpCommandCooldown }));
if (PP.getRecentlyHurt() + (Config.getPTPCommandCooldown() * 1000) > System.currentTimeMillis()) {
player.sendMessage(mcLocale.getString("Party.Teleport.Hurt", new Object[] { Config.getPTPCommandCooldown() }));
return true;
}