Update package name and adjust tick rate in LagoonAddons

This commit is contained in:
2026-05-27 11:13:53 +02:00
parent 48276881ea
commit 7ba6587f02
3 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ class LagoonAddons {
InitPlayer(e.player);
}, 20 * 3);
});
system.runInterval(() => this.clock(), 1);
system.runInterval(() => this.clock(), 20);
utils.logStaff('§aLagoon loaded !');
console.log('Lagoon loaded !');
}
@@ -44,7 +44,7 @@ class LagoonAddons {
// 1 seconde
if (this.timer % interval === 0) {
if (this.ws.isOpen) {
const players = world.getAllPlayers().map((p) => {
const players = world.getAllPlayers().filter((p) => p.initialized).map((p) => {
return {
...p.location,
code: p.lagoonCode,