#Help applying potion effects
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
Does anyone have any specific ways they can apply potion effects to players? I have been trying player.addPotionEffect(effect) but it hasnt been working and I keep getting an error in console.
Show the error
?paste
So how would i do it in sync?
Use a scheduler to run it back on the main thread
Via Bukkit.getScheduler.runTask
?scheduling