Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AnyBananaGAME committed Oct 28, 2024
1 parent 6ffa55c commit a907a58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import {
} from "node:crypto";
import { measureExecutionTime } from "./vendor/debug-tools";

import { Client as RakNetClient, type Advertisement } from "../../Raknet/src/";
import { Client as RakNetClient, type Advertisement } from "@sanctumterra/raknet";


declare global {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/offline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const client = new Client({
deviceOS: DeviceOS.Win10,
});

client.raknet.socket.on("error", (error) => Logger.error(error));
client.raknet.socket.on("error", (error: Error) => Logger.error(error));

Logger.info("Connecting to server...");
try {
Expand Down
2 changes: 1 addition & 1 deletion src/vendor/PacketSorter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { AddEntityPacket } from "./packets/AddActorPacket";
import { AddItemActorPacket } from "./packets/add-item-actor";
import { LegacyTelemetryEventPacket } from "./packets/LegacyTelemetryEventPacket";
import { UpdateSubChunkBlocksPacket } from "./packets/UpdateSubChunkBlocksPacket";
import { Frame } from "../../../Raknet/src/";
import { Frame } from "@sanctumterra/raknet";

export class PacketSorter {
constructor(private readonly connection: Connection) {
Expand Down

0 comments on commit a907a58

Please sign in to comment.