mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Fix potential NPE, remove uneeded imports, static access for static vars
This commit is contained in:
1 parent
30ac883120
commit
19af0045f9
2 files changed
+9
-11
No files matched your search
@@ -69,11 +69,13 @@ public class PlayerManager
|
||||
}
|
||||
else
|
||||
{
|
||||
final String name = player.getName();
|
||||
|
||||
// Why, Why, Whyyyyy!
|
||||
if (player == null)
|
||||
return false;
|
||||
|
||||
final String name = player.getName();
|
||||
|
||||
|
||||
|
||||
if (level.get(name) == null || level.get(name) == 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user