Skip to content

Commit

Permalink
invisible trait: disable potion particles
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 15, 2021
1 parent 826550c commit 6d01e9b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -31,7 +31,7 @@ public class InvisibleTrait extends Trait implements Listener, Toggleable {
@Persist("")
private boolean invisible = true;

private static PotionEffect invis = new PotionEffect(PotionEffectType.INVISIBILITY, Integer.MAX_VALUE, 1);
private static PotionEffect invis = new PotionEffect(PotionEffectType.INVISIBILITY, Integer.MAX_VALUE, 1, false, false);

public InvisibleTrait() {
super("invisible");
Expand Down

0 comments on commit 6d01e9b

Please sign in to comment.