Adds an option for setting the exit velocity of a teleporting player
Some checks failed
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
Some checks failed
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -179,6 +179,15 @@ public final class StargateGateConfig {
|
||||
return (String) configOptions.get(ConfigOption.DEFAULT_GATE_NETWORK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the exit velocity of players using stargates, relative to the entry velocity
|
||||
*
|
||||
* @return <p>The relative exit velocity</p>
|
||||
*/
|
||||
public double getExitVelocity() {
|
||||
return (double) configOptions.get(ConfigOption.EXIT_VELOCITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads all config values related to gates
|
||||
*/
|
||||
|
Reference in New Issue
Block a user