Files
pokemon-foundry/pokemon.js
2025-06-09 22:08:44 +02:00

8 lines
373 B
JavaScript

import PokemonItemSheet from "./modules/sheets/PokemonItemSheet.js";
Hooks.once("init", function() {
console.log("pokemon | Initializing the Pokémon system");
foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet);
foundry.documents.collections.Items.registerSheet("pokemon", PokemonItemSheet, { makeDefault: true });
});