EngineHub / WorldGuard

🛡️ Protect your Minecraft server and lets players claim areas
https://enginehub.org/worldguard/
Other
836 stars 545 forks source link

Could not pass event PlaceBlockEvent to WorldGuard #2080

Closed andrewkm closed 6 months ago

andrewkm commented 6 months ago

WorldEdit Version

Bukkit-Official (7.4.0-SNAPSHOT+6720-79a06b1)

WorldGuard Version

Bukkit-Official (7.1.0-SNAPSHOT+2268-aa254c8)

Platform Version

git-Paper-496 (MC: 1.20.4) (Git: 7ac24a1 on ver/1.20.4)

Confirmations

Bug Description

Simply clicking blocks generates the following errors: https://pastebin.com/BwWUHcpd

I have attempted builds compiled against: WorldGuard: https://github.com/EngineHub/WorldGuard/commit/65431c7df86ad8041b9292250c030206a83e22f6 from 7.0.10 - same problem.

I have as well attempted to use https://dev.bukkit.org/projects/worldedit/files/5326355; same result.

This is happening with PlayerInteractEvent, PlaceBlockEvent, BlockGrowEvent, BlockSpreadEvent, and more.

Expected Behavior

No error spam.

Reproduction Steps

Run above builds, click block (?)

Optional WorldGuard-Report

https://pastebin.com/raw/1X1eUFbW

Anything Else?

No response

andrewkm commented 6 months ago

My bad, it was always my assumption that WG aimed to be backwards compatible, just looked over things and realized that's not the case and certain WG versions correspond to certain MC versions. Thanks!