mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-07 21:13:53 +00:00
Add passenger dismounting for teleports (#3069)
Add passenger dismounting for teleports
This commit is contained in:
parent
c007700c59
commit
810689c037
5 changed files with 23 additions and 0 deletions
|
@ -157,6 +157,11 @@ public class Settings implements net.ess3.api.ISettings {
|
|||
return forceDisableTeleportSafety;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTeleportPassengerDismount() {
|
||||
return config.getBoolean("teleport-passenger-dismount", true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getTeleportDelay() {
|
||||
return config.getDouble("teleport-delay", 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue