diff --git a/src/protocol/client/ModSettingsPacket.ts b/src/protocol/client/ModSettingsPacket.ts index 7ac4f0a..c61d861 100644 --- a/src/protocol/client/ModSettingsPacket.ts +++ b/src/protocol/client/ModSettingsPacket.ts @@ -27,7 +27,7 @@ interface ModSettings { settings: { [key in LunarMod]?: { enabled: boolean; - properties: { [key: string]: any }; + properties: { [key: string]: unknown }; }; }; } diff --git a/src/util/deprecatePacket.ts b/src/util/deprecatePacket.ts index 0cea50f..2e4753c 100644 --- a/src/util/deprecatePacket.ts +++ b/src/util/deprecatePacket.ts @@ -5,7 +5,9 @@ import { deprecate } from 'node:util'; * @param packet Packet to deprecate * @returns The deprecated packet */ -export default function deprecatePacket(packet: T): T { +export default function deprecatePacket( + packet: T +): T { return deprecate( packet, `Packet ${packet.name} not handled by the official Lunar Client`,