Update package name and adjust tick rate in LagoonAddons
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user