Remove the menu option I have in the OFT module

This commit is contained in:
Oliver 2025-12-24 20:22:07 -07:00
parent 8ea22d7eaf
commit 5bee99a523

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;
},
},
);
});