Started by
Distru121mods
on
Topic category: Advanced modding
I was trying to make a gun that tests if you have blindness effect (any level), then when it shoots it removes it and does something. Now I can't figure out how can I test if the player have blindness level, maybe a custom code snippet?
Edited by Distru121mods on Tue, 03/05/2019 - 11:00
player.getActivePotionEffects() returns a Collection of PotionEffects.
found here: https://bukkit.org/threads/getting-a-players-current-potion-effects.118…