mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-04 22:15:22 +00:00
Require player to be both online AND not null instead of OR
This commit is contained in:
1 parent
32a762298f
commit
1999b4a4f4
1 file changed
+1
-1
@@ -73,7 +73,7 @@ public class User
|
||||
|
||||
public boolean increaseLevel(CheckType type)
|
||||
{
|
||||
if(getPlayer() != null || getPlayer().isOnline())
|
||||
if(getPlayer() != null && getPlayer().isOnline())
|
||||
{
|
||||
if(silentMode && type.getUses(name) % 4 != 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user