mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-05 23:08:23 +00:00
Fix afk list NPE (#4294)
This commit is contained in:
parent
0861427bf3
commit
55db6c2476
1 changed files with 1 additions and 1 deletions
|
@ -633,7 +633,7 @@ public class Settings implements net.ess3.api.ISettings {
|
||||||
getFreezeAfkPlayers = _getFreezeAfkPlayers();
|
getFreezeAfkPlayers = _getFreezeAfkPlayers();
|
||||||
sleepIgnoresAfkPlayers = _sleepIgnoresAfkPlayers();
|
sleepIgnoresAfkPlayers = _sleepIgnoresAfkPlayers();
|
||||||
afkListName = _getAfkListName();
|
afkListName = _getAfkListName();
|
||||||
isAfkListName = !afkListName.equalsIgnoreCase("none");
|
isAfkListName = afkListName != null && !afkListName.equalsIgnoreCase("none");
|
||||||
broadcastAfkMessage = _broadcastAfkMessage();
|
broadcastAfkMessage = _broadcastAfkMessage();
|
||||||
itemSpawnBl = _getItemSpawnBlacklist();
|
itemSpawnBl = _getItemSpawnBlacklist();
|
||||||
loginAttackDelay = _getLoginAttackDelay();
|
loginAttackDelay = _getLoginAttackDelay();
|
||||||
|
|
Loading…
Reference in a new issue