Update debug log message in EntityAttributeModifier
Changed the debug log message to reflect the addition operation for attributes, providing clearer information during debugging and better tracing of value changes.
This commit is contained in:
parent
2c3174d24f
commit
7704d75960
|
|
@ -29,7 +29,7 @@ public class EntityAttributeModifier implements EntityModifier {
|
|||
log.warn("Entity {} has no {} attribute", entity.getName(), attribute.name());
|
||||
return;
|
||||
}
|
||||
log.info("DEBUG: Setting attribute {} to {}", attribute.name(), value);
|
||||
log.info("DEBUG: Adding {} to attribute {}", attributeInstance.getValue() - value, attribute.name());
|
||||
NamespacedKey namespacedKey = NamespacedKey.fromString("cm", main);
|
||||
if (namespacedKey == null) {
|
||||
log.error("Namespaced key was null when applying attribute modifier");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user