mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-26 04:25:21 +01:00
a23be39663
Introduces a means of "tracking" both the players and the boss itself during the `shuffle-positions` ability for the sake of _not_ blocking the teleport event(s) that could potentially be blocked otherwise. Note that the change introduced in the PlayerTeleportEvent handler is not strictly necessary. The final block of code _should_ always yield the same result, as `shuffle-positions` _should_ be working solely on positions that are all inside the arena region, but the out-of-bounds check might be delayed, so we don't know for sure. It's just a safety precaution, but it really shouldn't be necessary. Fixes #792 |
||
---|---|---|
.. | ||
main | ||
test |