updated to version 0.1.12

This commit is contained in:
KungKurt 2025-02-23 14:41:03 +01:00
parent 99e91c3679
commit 533b925bd7
3 changed files with 8 additions and 6 deletions

View File

@ -6,7 +6,7 @@
"authors": [ "authors": [
{ "name": "Robin Riis" } { "name": "Robin Riis" }
], ],
"version": "0.1.12", "version": "0.1.13",
"socket": true, "socket": true,
"minimumCoreVersion": 10, "minimumCoreVersion": 10,
"compatibility": { "compatibility": {

View File

@ -1,9 +1,9 @@
import { PuckoPruttApi } from "./puckoapi/puckoapi.js" import { puckoprutt } from "./puckoapi/puckoapi.js";
import { puckocommand } from "./puckochat/commands.js" import { puckocommand } from "./puckochat/commands.js";
let puckoprutt = null; let pp = null;
Hooks.once("setup", async function() { Hooks.once("setup", async function() {
puckoprutt = new PuckoPruttApi(); pp = puckoprutt;
}); });
Hooks.on("init", async function() { Hooks.on("init", async function() {

View File

@ -9,4 +9,6 @@ class PuckoPruttApi {
} }
} }
export default PuckoPruttApi; const puckoprutt = new PuckoPruttApi();
export default puckoprutt;