console.log("FizzyBubble: hide-effects-non-gm.js loaded");

Hooks.once("init", () => {
  if (game.user?.isGM === undefined) {
    Hooks.once("ready", () => applyHider());
  } else {
    applyHider();
  }
});

function applyHider() {
  if (!game.user.isGM) {
    document.body.classList.add("hide-effects-non-gm");
  }
}
