refactored into a node module

This commit is contained in:
2025-07-08 20:19:22 +02:00
parent a2ec6f700b
commit 05e254cfcd
46 changed files with 3390 additions and 477 deletions

View File

@@ -1,5 +1,5 @@
import { playerData } from "../Classes/playerData";
import { questProgressData } from "../Classes/questProgressData";
import { playerData } from "../Classes/playerData.js";
import { questProgressData } from "../Classes/questProgressData.js";
export function update(socket, data){
if(!socket.hasOwnProperty("player")) return;

View File

@@ -1,4 +1,4 @@
import { update } from "./_update";
import { update } from "./_update.js";
export function registerQuestCallbacks(socket){
socket.on('quest/update', (data) => {