Configurable FoliaOffset
This commit is contained in:
parent
07806d8e6f
commit
c9a8159ea8
3 changed files with 4 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ public class FoliaFlow extends JavaPlugin {
|
|||
public static double horizontalCoefficient;
|
||||
public static double verticalCoefficient;
|
||||
public static double spawnHeight;
|
||||
public static double foliaOffset;
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
|
|
@ -25,6 +26,7 @@ public class FoliaFlow extends JavaPlugin {
|
|||
horizontalCoefficient = getConfig().getDouble("horizontal_coefficient");
|
||||
verticalCoefficient = getConfig().getDouble("vertical_coefficient");
|
||||
spawnHeight = getConfig().getDouble("spawn_height");
|
||||
foliaOffset = getConfig().getDouble("folia_offset");
|
||||
}
|
||||
|
||||
private void register() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue