HERO6 - First import
This commit is contained in:
@ -28,7 +28,7 @@ Hooks.once("init", async function () {
|
||||
|
||||
console.log(`Initializing Hero6 RPG`);
|
||||
|
||||
game.system.Hero6 = {
|
||||
game.system.hero6 = {
|
||||
Hero6Commands,
|
||||
config: Hero6_CONFIG
|
||||
}
|
||||
@ -109,7 +109,7 @@ Hooks.on("chatMessage", (html, content, msg) => {
|
||||
if (content[0] == '/') {
|
||||
let regExp = /(\S+)/g;
|
||||
let commands = content.match(regExp);
|
||||
if (game.system.cruciblerpg.commands.processChatCommand(commands, content, msg)) {
|
||||
if (game.system.hero6.commands.processChatCommand(commands, content, msg)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user