From 8fe537f774150efd74ea9ec0a5adad77c3199e0c Mon Sep 17 00:00:00 2001 From: TheDreWen Date: Wed, 27 May 2026 11:19:30 +0200 Subject: [PATCH] Remove interval property from properties and update imports in LagoonAddons --- scripts/properties.js | 1 - src/main.ts | 2 +- src/properties.ts | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/properties.js b/scripts/properties.js index b02c45f..951d594 100644 --- a/scripts/properties.js +++ b/scripts/properties.js @@ -1,2 +1 @@ export const roomCode = 'ROOM_CODE'; -export const interval = 20; // Interval in ticks at which positions will be sent to the server. (Min: 10) diff --git a/src/main.ts b/src/main.ts index 2d1e3c1..8d44933 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,7 +2,7 @@ import { system, world } from "@minecraft/server"; import utils from "utils"; import { websocket, WebSocketClient } from "@minecraft/server-net"; import { InitPlayer } from "entities/player"; -import { interval, roomCode } from "properties"; +import { roomCode } from "properties"; class LagoonAddons { diff --git a/src/properties.ts b/src/properties.ts index 411086b..660b614 100644 --- a/src/properties.ts +++ b/src/properties.ts @@ -1,2 +1 @@ -export const roomCode = 'ROOM_CODE'; -export const interval = 20; // Interval in ticks at which positions will be sent to the server. (Min: 10) \ No newline at end of file +export const roomCode = 'ROOM_CODE'; \ No newline at end of file