From c082290cf1dfdb8e7aa1a291d7e3b34a1262b5da Mon Sep 17 00:00:00 2001 From: Glitchfinder Date: Mon, 24 Dec 2012 12:25:23 -0800 Subject: [PATCH] Fixing minor typo involving a binary operation instead of a check. --- src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java b/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java index 432564e6c..aa447e36a 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java +++ b/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java @@ -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