Skip to content

Commit b8e589f

Browse files
committed
allow disabling effects for mods+
1 parent b6a941e commit b8e589f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/scripts/commands.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class Perm {
9090
static seeErrorMessages = new Perm("seeErrorMessages", "admin");
9191
static viewUUIDs = new Perm("viewUUIDs", "admin");
9292
static blockTrolling = new Perm("blockTrolling", fishP => fishP.rank === Rank.pi);
93-
static visualEffects = new Perm("visualEffects", fishP => (!fishP.stelled() && !fishP.hasFlag("no_effects")) || fishP.ranksAtLeast("mod"));
93+
static visualEffects = new Perm("visualEffects", fishP => (!fishP.stelled() || fishP.ranksAtLeast("mod")) && !fishP.hasFlag("no_effects"));
9494
static bulkVisualEffects = new Perm("bulkVisualEffects", fishP => (
9595
(fishP.hasFlag("developer") || fishP.hasFlag("illusionist") || fishP.hasFlag("member")) && !fishP.stelled())
9696
|| fishP.ranksAtLeast("mod")

0 commit comments

Comments
 (0)