Require player to be both online AND not null instead of OR

This commit is contained in:
h31ix committed 2012-12-17 15:30:45 -05:00
1 parent 32a762298f
commit 1999b4a4f4
1 file changed
+1 -1
@@ -73,7 +73,7 @@ public class User
public boolean increaseLevel(CheckType type) public boolean increaseLevel(CheckType type)
{ {
if(getPlayer() != null || getPlayer().isOnline()) if(getPlayer() != null && getPlayer().isOnline())
{ {
if(silentMode && type.getUses(name) % 4 != 0) if(silentMode && type.getUses(name) % 4 != 0)
{ {