Fixed targetUuid being the same as uuid (sender uuid) when adding a chat log for private messages
This commit is contained in:
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
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user