Fixed logic error, mcMMO compatibility.

This commit is contained in:
h31ix committed 2012-09-28 15:45:02 -04:00
1 parent 35660773fd
commit 61e522ab22
2 files changed
+2 -2

No files matched your search

@@ -1106,7 +1106,7 @@ public class Backend
{ {
if(max != -1) if(max != -1)
{ {
if((map.get(player.getName())/1000) > max) if(((System.currentTimeMillis()-map.get(player.getName()))/1000) > max)
{ {
map.remove(player.getName()); map.remove(player.getName());
return false; return false;
+1 -1
View File
@@ -6,7 +6,7 @@ name: AntiCheat
softdepend: [AntiCheat] softdepend: [AntiCheat]
startup: postworld startup: postworld
url: http://H31IX.NET/ url: http://H31IX.NET/
version: ${project.version}-b${BUILD_NUMBER} version: ${project.version}-DEV-b${BUILD_NUMBER}
commands: commands:
anticheat: anticheat:
description: Control and view info about AntiCheat description: Control and view info about AntiCheat