refactor: fix plugin messaging on Fabric

This commit is contained in:
William committed 2024-05-30 00:03:16 +01:00
1 parent 31620f520e
commit a3eba8407b
7 files changed
+43 -49

No files matched your search

@@ -193,12 +193,11 @@ public abstract class OnlineUser extends User implements Teleportable, CommandUs
public abstract void teleportLocally(@NotNull Location location, boolean async) throws TeleportationException;
/**
* Send a plugin message to the user.
* Send a plugin message to the user on the bungee channel.
*
* @param channel channel to send it on
* @param message byte array of message data
*/
public abstract void sendPluginMessage(@NotNull String channel, byte[] message);
public abstract void sendPluginMessage(byte[] message);
/**
* Returns if a player is moving (i.e., they have momentum).