Dieser Commit ist enthalten in:
Commit
41301269d8
@ -5,9 +5,8 @@ import com.comphenix.tinyprotocol.TinyProtocol;
|
|||||||
|
|
||||||
public class ServerDataHandler {
|
public class ServerDataHandler {
|
||||||
|
|
||||||
private Class<?> serverDataPacket = Reflection.getClass("{nms.network.protocol.game}.ClientboundServerDataPacket");
|
|
||||||
|
|
||||||
public ServerDataHandler() {
|
public ServerDataHandler() {
|
||||||
TinyProtocol.instance.addFilter(serverDataPacket, (p, o) -> null);
|
TinyProtocol.instance.addFilter(Reflection.getClass("{nms.network.protocol.game}.ClientboundServerDataPacket"), (p, o) -> null);
|
||||||
|
TinyProtocol.instance.addFilter(Reflection.getClass("{nms.network.protocol.game}.ServerboundChatSessionUpdatePacket"), (player, packet) -> null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren