Started by
Goldorion
on
Topic category: Troubleshooting, bugs, and solutions
Hi,
I have again find a bug.
The bug is when I have a custom effect, I try to remove it with the command /effect @p clear, but it's not working. the game send me this message https://image.noelshack.com/fichiers/2019/26/7/1561925684-2019-06-30-16-09-30.png. I think that it's due to when we create our custom effect potions, we can only say to the game that we want remove the effect with items/blocks, and not with the command /effect PseudoOrSelector9@a,@p,etc.) clear.
Can you fix this bug in adding an option or just to say automatically to the game to clear custom effect potions with /effect PseudoOrSelector9@a,@p,etc.) clear ?
Goldorion
Could you check the console for more logs when you run this command. Keep in mind that you need to preffix your potion with modid: and use proper registry name when addressing it.
And another tip, avoid execute command as this block only works if the player has permissions to run this command.
Ok, I will give you the log of the console tomorrow, and I was in creative with all the permissions.