mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-28 16:32:09 +00:00
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:
parent
5cbcd7469b
commit
0a563b91a2
5 changed files with 34 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue