Passengers of leashed creatures are not accounted for #21
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some creatures can have a player passenger. This is not accounted for when teleoporting leashed creatures. This can be used to bypass permissions if a player with permissions attaches a lead to a llama/horse/donkey/pig/strider or other creature which can have passengers, and then another player without the correct permissions sits on the creature before the first player goes through the portal.
It is possible, since eject is not called, that the creature instead is not teleported, but the expected behavior is that both players should be validated, and the teleportation should be denied unless both players have the necessary permissions required to teleport through the stargate.
It's probably simpler, and still valid to deny teleportation if a leashed creature has a passenger.