You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it spamming itself continuously until you take a step back from the damager block (like magma, cactus, campfire etc.)
Steps/models to reproduce
in EntityDamageEvent, just make the damage lower than 1 by using event.setDamage (like 0.9). then, just jump on a damager block (like magma, cactus, campfire etc.). and don't forget to make an output next to it, so you can see it's spamming itself.
Example Code:
public void test(EntityDamageEvent event) {
Bukkit.getServer().broadcast(Component.text("hit."))
event.setDamage(0.9) // - bug starts when you set this lower than 1
}
Plugin and Datapack List
nothing, just a clean server with my test plugin.
Paper version
This server is running Paper version 1.21.4-174-main@5e2a3bc (2025-02-20T09:56:44Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
Other
I've tried it in multiple versions but problem still exists. (in 1.21.1, 1.21.3, 1.21.4)
The text was updated successfully, but these errors were encountered:
Expected behavior
it shouldn't spam itself
Observed/Actual behavior
it spamming itself continuously until you take a step back from the damager block (like magma, cactus, campfire etc.)
Steps/models to reproduce
in EntityDamageEvent, just make the damage lower than 1 by using event.setDamage (like 0.9). then, just jump on a damager block (like magma, cactus, campfire etc.). and don't forget to make an output next to it, so you can see it's spamming itself.
Example Code:
public void test(EntityDamageEvent event) {
Bukkit.getServer().broadcast(Component.text("hit."))
event.setDamage(0.9) // - bug starts when you set this lower than 1
}
Plugin and Datapack List
nothing, just a clean server with my test plugin.
Paper version
This server is running Paper version 1.21.4-174-main@5e2a3bc (2025-02-20T09:56:44Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
Other
I've tried it in multiple versions but problem still exists. (in 1.21.1, 1.21.3, 1.21.4)
The text was updated successfully, but these errors were encountered: