diff --git a/src/main/java/net/elytrium/fastmotd/dummy/DummyPlayer.java b/src/main/java/net/elytrium/fastmotd/dummy/DummyPlayer.java index 4619085..d5ed46d 100644 --- a/src/main/java/net/elytrium/fastmotd/dummy/DummyPlayer.java +++ b/src/main/java/net/elytrium/fastmotd/dummy/DummyPlayer.java @@ -25,6 +25,7 @@ import com.velocitypowered.api.proxy.ServerConnection; import com.velocitypowered.api.proxy.crypto.IdentifiedKey; import com.velocitypowered.api.proxy.messages.ChannelIdentifier; +import com.velocitypowered.api.proxy.messages.PluginMessageEncoder; import com.velocitypowered.api.proxy.player.PlayerSettings; import com.velocitypowered.api.proxy.player.ResourcePackInfo; import com.velocitypowered.api.proxy.player.TabList; @@ -186,6 +187,11 @@ public boolean sendPluginMessage(ChannelIdentifier identifier, byte[] data) { return false; } + @Override + public boolean sendPluginMessage(ChannelIdentifier identifier, PluginMessageEncoder dataEncoder) { + return false; + } + @Override public @Nullable String getClientBrand() { return null;