mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
remove console spam about syncing data
This commit is contained in:
parent
b475d15c9f
commit
3573257010
2 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ public class CommonEvents{
|
||||||
PlayerData.PlayerSave data = PlayerData.getDataFromPlayer(player);
|
PlayerData.PlayerSave data = PlayerData.getDataFromPlayer(player);
|
||||||
if(!data.theCompound.hasNoTags()){
|
if(!data.theCompound.hasNoTags()){
|
||||||
PacketHandlerHelper.sendPlayerDataToClientPacket(player, data.theCompound, true);
|
PacketHandlerHelper.sendPlayerDataToClientPacket(player, data.theCompound, true);
|
||||||
ModUtil.LOGGER.info("Sending Player Data to player "+player.getName()+" with UUID "+player.getUniqueID()+" with info "+data.theCompound+".");
|
ModUtil.LOGGER.info("Sending Player Data to player "+player.getName()+" with UUID "+player.getUniqueID()+".");
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
ModUtil.LOGGER.info("Not sending Player Data to player "+player.getName()+" with UUID "+player.getUniqueID()+" because he doesn't have any.");
|
ModUtil.LOGGER.info("Not sending Player Data to player "+player.getName()+" with UUID "+player.getUniqueID()+" because he doesn't have any.");
|
||||||
|
|
|
@ -124,7 +124,7 @@ public final class PacketHandler{
|
||||||
UUID id = compound.getUniqueId("UUID");
|
UUID id = compound.getUniqueId("UUID");
|
||||||
PlayerData.getDataFromPlayer(id).theCompound = data;
|
PlayerData.getDataFromPlayer(id).theCompound = data;
|
||||||
if(compound.getBoolean("Log")){
|
if(compound.getBoolean("Log")){
|
||||||
ModUtil.LOGGER.info("Receiving Player Data for current player with UUID "+id+" with info "+data+".");
|
ModUtil.LOGGER.info("Receiving Player Data for current player with UUID "+id+".");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue