Skip to content

Commit 7d7008e

Browse files
Remove ViaVersionPlatformImpl#sendCustomPayload
1 parent 61754b0 commit 7d7008e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/main/java/com/viaversion/vialoader/impl/platform/ViaVersionPlatformImpl.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,6 @@ public VLTask runRepeatingSync(Runnable runnable, long period) {
101101
return this.runRepeatingAsync(runnable, period);
102102
}
103103

104-
@Override
105-
public void sendCustomPayload(UserConnection connection, String channel, byte[] message) {
106-
final PacketWrapper customPayload = PacketWrapper.create(PacketTypeUtil.getServerboundPacketType("CUSTOM_PAYLOAD", connection), connection);
107-
customPayload.write(Types.STRING, channel);
108-
customPayload.write(Types.REMAINING_BYTES, message);
109-
customPayload.sendToServer(InitialBaseProtocol.class);
110-
}
111-
112104
@Override
113105
public boolean hasPlugin(String name) {
114106
return false; // Used for ViaPlatform#getUnsupportedSoftwareClasses

0 commit comments

Comments
 (0)