Fixing minor typo involving a binary operation instead of a check.

This commit is contained in:
Glitchfinder 2012-12-24 12:25:23 -08:00
parent 4cac324e9f
commit c082290cf1

View File

@ -298,7 +298,7 @@ public class PlayerProfile {
public void save(boolean override) {
Long timestamp = System.currentTimeMillis();
if(timestamp < (lastSave + ((long) Config.getInstance().getSaveInterval() * 60000)) & !override)
if(timestamp < (lastSave + ((long) Config.getInstance().getSaveInterval() * 60000)) && !override)
return;
// if we are using mysql save to database