3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-25 15:50:19 +01:00
Dieser Commit ist enthalten in:
Andrew Steinborn 2021-05-06 16:46:43 -04:00
Ursprung 3fdacd30d1
Commit 3d9a166892

Datei anzeigen

@ -229,13 +229,13 @@ public interface Player extends CommandSource, Identified, InboundConnection,
void sendResourcePack(String url, byte[] hash); void sendResourcePack(String url, byte[] hash);
/** /**
* @inheritDoc
*
* <strong>Note that this method does not send a plugin message to the server the player * <strong>Note that this method does not send a plugin message to the server the player
* is connected to.</strong> You should only use this method if you are trying to communicate * is connected to.</strong> You should only use this method if you are trying to communicate
* with a mod that is installed on the player's client. To send a plugin message to the server * with a mod that is installed on the player's client. To send a plugin message to the server
* from the player, you should use the equivalent method on the instance returned by * from the player, you should use the equivalent method on the instance returned by
* {@link #getCurrentServer()}. * {@link #getCurrentServer()}.
*
* @inheritDoc
*/ */
@Override @Override
boolean sendPluginMessage(ChannelIdentifier identifier, byte[] data); boolean sendPluginMessage(ChannelIdentifier identifier, byte[] data);