Commit 49b03f7c by Jonathan Thomas

Made a few noisy logs quieter (debug instead of info)

parent 037db864
Pipeline #12022 passed with stage
in 21 seconds
...@@ -98,7 +98,7 @@ public class ClickHandler { ...@@ -98,7 +98,7 @@ public class ClickHandler {
// Determine area clicked inside chat bubble (top, left, right) // Determine area clicked inside chat bubble (top, left, right)
String hitRegion = determineHitRegion(closestHitResult.get(), closestBubbleData.position, camera, closestBubbleData.height); String hitRegion = determineHitRegion(closestHitResult.get(), closestBubbleData.position, camera, closestBubbleData.height);
LOGGER.info("Clicked region: " + hitRegion); LOGGER.debug("Clicked region: " + hitRegion);
if (chatData.status == ChatDataManager.ChatStatus.NONE) { if (chatData.status == ChatDataManager.ChatStatus.NONE) {
// Start conversation // Start conversation
......
...@@ -39,7 +39,7 @@ public class EntityBehaviorManager { ...@@ -39,7 +39,7 @@ public class EntityBehaviorManager {
GoalSelector goalSelector = GoalUtils.getGoalSelector(entity); GoalSelector goalSelector = GoalUtils.getGoalSelector(entity);
goalSelector.add(priority.getPriority(), goal); goalSelector.add(priority.getPriority(), goal);
LOGGER.info("Goal of type {} added to entity UUID: {}", goal.getClass().getSimpleName(), entityId); LOGGER.debug("Goal of type {} added to entity UUID: {}", goal.getClass().getSimpleName(), entityId);
} }
public static void removeGoal(MobEntity entity, Class<? extends Goal> goalClass) { public static void removeGoal(MobEntity entity, Class<? extends Goal> goalClass) {
...@@ -51,7 +51,7 @@ public class EntityBehaviorManager { ...@@ -51,7 +51,7 @@ public class EntityBehaviorManager {
goals.removeIf(goal -> { goals.removeIf(goal -> {
if (goalClass.isInstance(goal)) { if (goalClass.isInstance(goal)) {
goalSelector.remove(goal); goalSelector.remove(goal);
LOGGER.info("Goal of type {} removed for entity UUID: {}", goalClass.getSimpleName(), entityId); LOGGER.debug("Goal of type {} removed for entity UUID: {}", goalClass.getSimpleName(), entityId);
return true; return true;
} }
return false; return false;
......
...@@ -80,7 +80,7 @@ public class ServerPackets { ...@@ -80,7 +80,7 @@ public class ServerPackets {
EntityBehaviorManager.addGoal(entity, talkGoal, GoalPriority.TALK_PLAYER); EntityBehaviorManager.addGoal(entity, talkGoal, GoalPriority.TALK_PLAYER);
ChatDataManager.EntityChatData chatData = ChatDataManager.getServerInstance().getOrCreateChatData(entity.getUuidAsString()); ChatDataManager.EntityChatData chatData = ChatDataManager.getServerInstance().getOrCreateChatData(entity.getUuidAsString());
LOGGER.info("Update read lines to " + lineNumber + " for: " + entity.getType().toString()); LOGGER.debug("Update read lines to " + lineNumber + " for: " + entity.getType().toString());
chatData.setLineNumber(lineNumber); chatData.setLineNumber(lineNumber);
} }
}); });
...@@ -100,7 +100,7 @@ public class ServerPackets { ...@@ -100,7 +100,7 @@ public class ServerPackets {
EntityBehaviorManager.addGoal(entity, talkGoal, GoalPriority.TALK_PLAYER); EntityBehaviorManager.addGoal(entity, talkGoal, GoalPriority.TALK_PLAYER);
ChatDataManager.EntityChatData chatData = ChatDataManager.getServerInstance().getOrCreateChatData(entity.getUuidAsString()); ChatDataManager.EntityChatData chatData = ChatDataManager.getServerInstance().getOrCreateChatData(entity.getUuidAsString());
LOGGER.info("Hiding chat bubble for: " + entity.getType().toString()); LOGGER.debug("Hiding chat bubble for: " + entity.getType().toString());
chatData.setStatus(ChatDataManager.ChatStatus.valueOf(status_name)); chatData.setStatus(ChatDataManager.ChatStatus.valueOf(status_name));
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment