This commit is contained in:
2025-06-09 22:08:44 +02:00
parent 5686252e3b
commit 48eb799861
4 changed files with 4 additions and 4 deletions

View File

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