Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AnyBananaGAME committed Dec 25, 2024
1 parent 0fdfee4 commit 37c24a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Client extends Connection {
public velocity: Vector3f = new Vector3f(0, 0, 0);

public inventory: Inventory;

private breakQueue: Queue<Vector3f> = new Queue();
private isBreaking = false;
private requestId = -2;
Expand Down
3 changes: 1 addition & 2 deletions src/tools/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,8 @@ const textHandler = (packet: TextPacket) => {
} else if (packet.parameters?.includes("hi")) {
client.sendMessage("Hello");
} else if (packet.parameters?.includes("spin")) {
let interval: NodeJS.Timeout;
client.yaw = 1;
interval = setInterval(() => {
const interval = setInterval(() => {
client.yaw += 3;
if (client.yaw > 356) {
clearInterval(interval);
Expand Down

0 comments on commit 37c24a5

Please sign in to comment.