Trait Items #72
1 changed files with 0 additions and 7 deletions
|
|
@ -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;
|
||||
},
|
||||
},
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue