mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Fix incorrect channel being used
This commit is contained in:
1 parent
2100f1463f
commit
c2483d65e7
1 file changed
+2
-2
@@ -114,7 +114,7 @@ public class PluginMessageManager implements PluginMessageListener {
|
||||
out.writeShort(msg.toByteArray().length);
|
||||
out.write(msg.toByteArray());
|
||||
|
||||
player.sendPluginMessage(simpleChat, "simplechat:message", out.toByteArray());
|
||||
player.sendPluginMessage(simpleChat, "BungeeCord", out.toByteArray());
|
||||
}
|
||||
|
||||
public void sendComponent(ChatChannel chatChannel, Player player, Component component) {
|
||||
@@ -133,6 +133,6 @@ public class PluginMessageManager implements PluginMessageListener {
|
||||
out.writeShort(msg.toByteArray().length);
|
||||
out.write(msg.toByteArray());
|
||||
|
||||
player.sendPluginMessage(simpleChat, "simplechat:component", out.toByteArray());
|
||||
player.sendPluginMessage(simpleChat, "BungeeCord", out.toByteArray());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user