Fixed targetUuid being the same as uuid (sender uuid) when adding a chat log for private messages

This commit is contained in:
stijn committed 2026-09-27 00:37:51 +02:00
1 parent 0f4045d20d
commit 7e1bf017c0
1 file changed
+2 -2
@@ -72,7 +72,7 @@ public class PluginMessage implements PluginMessageListener {
PlainTextComponentSerializer.plainText().serialize(component), PlainTextComponentSerializer.plainText().serialize(component),
ChatLogType.MSG, ChatLogType.MSG,
null, null,
player.getUniqueId().toString(), targetuuid.toString(),
component, component,
false false
); );
@@ -98,7 +98,7 @@ public class PluginMessage implements PluginMessageListener {
PlainTextComponentSerializer.plainText().serialize(component), PlainTextComponentSerializer.plainText().serialize(component),
ChatLogType.MSG, ChatLogType.MSG,
null, null,
player.getUniqueId().toString(), targetuuid.toString(),
component, component,
false false
); );