Makes the delay to prevent client errors configurable

This commit is contained in:
2022-02-08 18:31:26 +01:00
parent 497551d889
commit 6c32de59a8
4 changed files with 23 additions and 3 deletions

View File

@@ -112,6 +112,13 @@ public enum ConfigOption {
"Whether to enable a fix that causes loss of NBT data, but allows vehicle teleportation to work " +
"when CraftBook's remove minecart/boat on eject setting is enabled", false),
/**
* The delay between teleporting a vehicle and adding the player as passenger
*/
WAIT_FOR_PLAYER_AFTER_TELEPORT_DELAY("advanced.waitForPlayerAfterTeleportDelay",
"The amount of ticks to wait before adding a player as passenger of a vehicle. On slow servers, " +
"a value of 6 is required to avoid client glitches after teleporting on a vehicle.", 1),
/**
* Whether to enable economy support for taking payment from players creating/destroying/using stargates
*/