Make player ride entity SETS passengers, does not ADD them (distinction?) #6390
Labels
enhancement
Feature request, an issue about something that could be improved, or a PR improving something.
up for debate
When the decision is yet to be debated on the issue in question
Skript/Server Version
Bug Description
[Disclaimer: this is from another user that had this problem]
User had the following skript:
This resulted in a strange bug when used with TrainCarts (or I guess boats too): since traincarts supports multiple seats per cart (custom carts), existing players get ejected when players enter the cart.
I assume that instead of adding the player as passenger, it set the passengers of the cart to this one player.
This might be intentional if the idea of this was to 'swap' passengers when entering, but as a plugin dev this behavior is not predictable, and it's not exactly clear from the statement that this is what it does.
Expected Behavior
Only add the player as passenger to the minecart. Not eject existing, other, players when using "make player ride entity"
Steps to Reproduce
Install skript + traincarts, configure a cart with multiple seats.
Can probably also reproduce using a boat.
Errors or Screenshots
No response
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: