Dieser Commit ist enthalten in:
Ursprung
6152f124c7
Commit
5116fd6c69
@ -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