mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Fixing minor typo involving a binary operation instead of a check.
This commit is contained in:
parent
4cac324e9f
commit
c082290cf1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user