Fix ProtocolLib compatibility.