diff --git a/patches/server/0009-Yatopia-Log-player-login-location.patch b/patches/server/0009-Yatopia-Log-player-login-location.patch index 5be509d..920bc78 100644 --- a/patches/server/0009-Yatopia-Log-player-login-location.patch +++ b/patches/server/0009-Yatopia-Log-player-login-location.patch @@ -15,7 +15,7 @@ index 4cd38de09c25ef77adf86636ae4d133c070771c9..08352cd0e6cc0cbd15aa894353b7e099 - PlayerList.LOGGER.info("{}[{}] logged in with entity id {} at ([{}]{}, {}, {})", player.getName().getString(), s1, player.getId(), worldserver1.serverLevelData.getLevelName(), player.getX(), player.getY(), player.getZ()); + + // Yatopia start - log player login location -+ if (xyz.arthurb.mirai.server.YatopiaConfig.logPlayerLoginLoc) { ++ if (xyz.arthurb.mirai.server.MiraiConfig.logPlayerLoginLoc) { + PlayerList.LOGGER.info("{}[{}] logged in with entity id {} at ([{}]{}, {}, {})", player.getName().getString(), s1, player.getId(), worldserver1.serverLevelData.getLevelName(), player.getX(), player.getY(), player.getZ()); + } else { + PlayerList.LOGGER.info("{}[{}] logged in with entity id {}", player.getName().getString(), s1, player.getId());