
Prevent the use of leads to tow boats from outside the WorldGuard region to take away animals within the region
Huge-mistake opened this issue ยท 0 comments
The Problem
Starting from version 1.21, players can use a lead to tie up a boat. Some players can first tie up a boat with a lead outside the WorldGuard region, then lead the boat into the WorldGuard region to make creatures bump into and sit on the boat, taking them away. This method can be used to steal creatures within the WorldGuard region. It is very versatile. After mastering the technique, players can even use elytra to fly away with the creatures.
petal_20250409_045625.mp4
A Solution
Is there a corresponding event that can be listened to, in order to distinguish boats that enter from outside the WorldGuard region and prevent creatures from being so easily stolen?
Alternatives
When a creature attempts to get on a boat, first check whether the nearest player has permission within the WorldGuard region. If not, cancel the creature's action of getting on the boat.
Anything Else?
No response