Fixing maths

This commit is contained in:
nossr50 2012-03-09 16:41:29 -08:00
parent a40d3f5f9c
commit 7ff02e51f5

View File

@ -42,7 +42,7 @@ public class PtpCommand implements CommandExecutor {
return true;
}
if(PP.getRecentlyHurt()+30*1000 > System.currentTimeMillis())
if(PP.getRecentlyHurt()+(30*1000) > System.currentTimeMillis())
{
player.sendMessage("You've been hurt in the last 30 seconds and cannnot teleport.");
return true;