Add passenger dismounting for teleports (#3069)

Add passenger dismounting for teleports
This commit is contained in:
Josh Roy 2020-03-31 21:04:44 -04:00 committed by GitHub
parent c007700c59
commit 810689c037
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 0 deletions

View file

@ -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);