WorldGuard
WorldGuard copied to clipboard
Fixed teleporting and moving not updating the region first time
When doing $this->plugin->updateRegion($player)
it will update the player’s region with the player’s position before it actually goes to that position in events like PlayerMoveEvent
and EntityTeleportEvent
, so I added a delayed task of one tick to account for that.
Thanks for your pr, i had resolved it with an other resolution, but i think, i will add the request after 1 tick in our code :) thanks for your help