[SPIGOT-7875] Suspicious Stew Custom Effects Do Not Cancel Created: 19/Aug/24  Updated: 25/Dec/24  Resolved: 07/Sep/24

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Keegan Bates Assignee: Doc
Resolution: Fixed Votes: 0
Labels: None

Version: This server is running CraftBukkit version 4226-Spigot-146439e-2889b3a (MC: 1.21) (Implementing API version 1.21-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

When canceling the PlayerConsumeItemEvent, it seems to also not cancel the custom potion effects that are on the suspicious stew. The potion effects are only applied on the client and thus there is no way to get rid of them. This is annoying, especially with the potion effect "darkness".



 Comments   
Comment by Doc [ 03/Sep/24 ]

Make PR for that https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/1471/overview

Currently the effects are only applied client-side then this PR just try to sync that info again.

Comment by Keegan Bates [ 31/Aug/24 ]

Is it possible to look into this? It's quite a big issue in my codebase and really important that the effects cancel.

Generated at Tue Apr 15 09:41:42 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.