Anyone know why this wont work? Can someone tell me how to fix it? https://gyazo.com/c5d4ae2835ac3db097fc2cb86a043b5d
p.removePotionEffect(PotionEffectType.NIGHT_VISION);
No like the whole thing doesnt start up like it doesnt load the pluginYou can't add a potion effect to a player that already has a potion effect.
You need to remove the potion effect first.
So for your second command, you'd want to do this instead.
Code:p.removePotionEffect(PotionEffectType.NIGHT_VISION);
