Skip to content

Commit

Permalink
Fix build (again)
Browse files Browse the repository at this point in the history
Probably need to remove DummyPlayer entirely instead of doing this
  • Loading branch information
UserNugget committed Apr 9, 2024
1 parent 5e7a811 commit 096c544
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/net/elytrium/fastmotd/dummy/DummyPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 096c544

Please sign in to comment.