1.17.1-rc-1
This commit is contained in:
1 parent
92eb46e8ad
commit
702789cab5
4 files changed
+6
-6
No files matched your search
@@ -189,7 +189,7 @@ public class PlayerCommand
|
||||
Messenger.m(context.getSource(), "r Player ", "rb " + playerName, "r is already logged on");
|
||||
return true;
|
||||
}
|
||||
GameProfile profile = server.getUserCache().findByName(playerName);
|
||||
GameProfile profile = server.getUserCache().findByName(playerName).orElse(null);
|
||||
if (profile == null)
|
||||
{
|
||||
if (!CarpetSettings.allowSpawningOfflinePlayers)
|
||||
|
||||
Reference in new issue
Block a user