-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
-
CraftBukkit version 3361-Spigot-f65de01-dad8517
-
Yes
When fiddling around with the BlockReceiveGameEvent event, #getBlock returns the block of the entity, where it SHOULD be returning the receiver (ie: sculk sensor)
When looking at the code:
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/nms-patches/net/minecraft/world/level/gameevent/vibrations/VibrationListener.patch#24
from what I can see, blockposition = origin (ie: entity)
and blockposition1 = target
I currently don't have a tester plugin (I was doing work in a Skript addon of mine when I noticed the wrong block), but if you would like me to whip up a quick test plugin, let me know and I will do so.