Create teleport-to-center configuration option.

This option toggles whether essentials should rounds all teleportations off to the center of the block.
This commit is contained in:
Ali Moghnieh 2016-06-26 15:21:35 +01:00
parent 5cbcd7469b
commit 0a563b91a2
5 changed files with 34 additions and 4 deletions

View file

@ -1168,4 +1168,9 @@ public class Settings implements net.ess3.api.ISettings {
public boolean isSpawnOnJoin() {
return config.getBoolean("spawn-on-join", false);
}
@Override
public boolean isTeleportToCenterLocation() {
return config.getBoolean("teleport-to-center", true);
}
}