diff --git a/build.gradle b/build.gradle index 6dac75a..4600d3f 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ plugins { } group = 'xyz.hynse' -version = "2.3" +version = "2.3_a" repositories { mavenCentral() diff --git a/src/main/java/xyz/hynse/foliaflow/FoliaFlow.java b/src/main/java/xyz/hynse/foliaflow/FoliaFlow.java index 358c98a..1530ad2 100644 --- a/src/main/java/xyz/hynse/foliaflow/FoliaFlow.java +++ b/src/main/java/xyz/hynse/foliaflow/FoliaFlow.java @@ -48,11 +48,11 @@ private void setInitialConfigValues() { config.setDefaults(defaultConfig); boolean isFolia = SchedulerUtil.isFolia(); if (!config.contains("horizontal_coefficient")) { - double horizontalCoefficient = isFolia ? 1.499 : 1.3; + double horizontalCoefficient = isFolia ? 1.499 : 2; config.set("horizontal_coefficient", horizontalCoefficient); } if (!config.contains("teleport_offset")) { - double telportCoefficient = isFolia ? 0.5 : 6; + double telportCoefficient = isFolia ? 0.5 : 2.4; config.set("teleport_offset", telportCoefficient); } try { diff --git a/src/main/java/xyz/hynse/foliaflow/watcher/PortalWatcher.java b/src/main/java/xyz/hynse/foliaflow/watcher/PortalWatcher.java index d1117e8..f3b6eef 100644 --- a/src/main/java/xyz/hynse/foliaflow/watcher/PortalWatcher.java +++ b/src/main/java/xyz/hynse/foliaflow/watcher/PortalWatcher.java @@ -42,7 +42,7 @@ public void onFallingBlockToBlock(EntityChangeBlockEvent e){ dummy.teleportAsync(dummy.getLocation().add(0, FoliaFlow.TeleportOffset, 0)); dummy.setVelocity(dummyVel); }, - 2 + 4 ); } } diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index ace57f2..52ba810 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -3,17 +3,17 @@ # If you find values that seems more vanilla please create a PR # https://github.com/Hynse/FoliaFlow -# Optimize value for horizontal_coefficient +# Default value for horizontal_coefficient # - Folia (1.499) -# - Paper (1.3) -horizontal_coefficient: 1.3 +# - Paper (2) +horizontal_coefficient: 2 # ----------------------------------------- vertical_coefficient: -1.7 spawn_height: 0.08 -# Optimize value for teleport_offset -# - Folia (0.5 or -1) -# - Paper (6) -teleport_offset: 0.5 +# Default value for teleport_offset +# - Folia (0.5) +# - Paper (2.4) +teleport_offset: 2.4 # ----------------------------------------- \ No newline at end of file