Trait Items #72

Open
Oliver wants to merge 41 commits from feature/trait-items into main
Showing only changes of commit 5bee99a523 - Show all commits

View file

@ -5,7 +5,6 @@ testing purposes. (This is particularly useful for testing embedded
items that are only allowed to exist on specific actor types)
*/
Hooks.on(`getHeaderControlsActorSheetV2`, (app, controls) => {
if (!game.settings.get(`ripcrypt`, `devMode`)) { return }
controls.push(
{
@ -13,11 +12,5 @@ Hooks.on(`getHeaderControlsActorSheetV2`, (app, controls) => {
label: `Embed New Item (DEV)`,
action: `createItem`,
},
{
label: `Make Global Reference`,
onClick: () => {
globalThis._doc = app.actor;
},
},
);
});