Remove interval property from properties and update imports in LagoonAddons

This commit is contained in:
2026-05-27 11:19:30 +02:00
parent 9fb87dd3e0
commit 8fe537f774
3 changed files with 2 additions and 4 deletions

View File

@@ -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)

View File

@@ -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 {

View File

@@ -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)