Fix visuals of SWListInv with no dynamic size #237
@ -5,9 +5,8 @@ import com.comphenix.tinyprotocol.TinyProtocol;
|
||||
|
||||
public class ServerDataHandler {
|
||||
|
||||
private Class<?> serverDataPacket = Reflection.getClass("{nms.network.protocol.game}.ClientboundServerDataPacket");
|
||||
|
||||
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