fix error; Update example_mod.js
This commit is contained in:
parent
fc2194c63e
commit
65966dd0b7
|
|
@ -68,7 +68,7 @@ runAfterLoad(function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Run if another mod is active
|
// Run if another mod is active
|
||||||
if (enabledMods.includes("test.js")) {
|
if (enabledMods.includes("mods/test.js")) {
|
||||||
runAfterLoad(function() {
|
runAfterLoad(function() {
|
||||||
// Your code here
|
// Your code here
|
||||||
console.log("Hello World!");
|
console.log("Hello World!");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue