We can't remove custom effects with command.

Started by Goldorion on

Topic category: Troubleshooting, bugs, and solutions

Active 6 hours ago
Joined Aug 2016
Points:
3320

User statistics:

  • Modifications: 9
  • Forum topics: 63
  • Wiki pages: 20
  • MCreator plugins: 11
  • Comments: 2958
We can't remove custom effects with command.

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…
Sun, 06/30/2019 - 20:31

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.

Active 6 hours ago
Joined Aug 2016
Points:
3320

User statistics:

  • Modifications: 9
  • Forum topics: 63
  • Wiki pages: 20
  • MCreator plugins: 11
  • Comments: 2958
Ok, I will give you the log…
Mon, 07/01/2019 - 01:01

Ok, I will give you the log of the console tomorrow, and I was in creative with all the permissions.