Possible to kick players off a chair if force teleported somewhere else?
LadyCailinBot opened this issue ยท 3 comments
CRAFTBOOK-3241 - Reported by mibby
CraftBook dev 85
If a player is sitting in a chair and he teleports to someone else (via /tpa) or joins an arena (through plugin commands), he is teleported back sitting the chair immediately after the teleport. Would it be possible to de-mount the player if they are teleported forcefully somewhere else instead of denying all teleport / dismount events?
Comment by me4502
The Bukkit API doesn't currently support this, it has no method of determining if it was caused by a command.
Comment by mibby
What about globally determining whether a player moved away from the chair to not teleport him back to it?