mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Fixing maths
This commit is contained in:
parent
a40d3f5f9c
commit
7ff02e51f5
@ -42,7 +42,7 @@ public class PtpCommand implements CommandExecutor {
|
|||||||
return true;
|
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.");
|
player.sendMessage("You've been hurt in the last 30 seconds and cannnot teleport.");
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user