~Need to wear my glasses~ already wearing them

This commit is contained in:
Etil
2021-09-18 16:18:28 +02:00
committed by GitHub
parent 4b335ca0d4
commit e8beb0c5af

View File

@@ -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());