From f2aeba1be6811e5ad7ca16f6c93c879f3297a736 Mon Sep 17 00:00:00 2001 From: zontreck Date: Fri, 15 Dec 2023 13:08:07 -0700 Subject: [PATCH] Update mod build version, adjust levitate duration --- gradle.properties | 2 +- .../essentials/commands/teleport/TeleportActioner.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 8403d33..e35cfc1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -49,7 +49,7 @@ mod_name=Aria's Essentials # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=GPLv3 # The mod version. See https://semver.org/ -mod_version=1.1.121523.1258 +mod_version=1.1.121523.1307 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/dev/zontreck/essentials/commands/teleport/TeleportActioner.java b/src/main/java/dev/zontreck/essentials/commands/teleport/TeleportActioner.java index f3ce6ba..b4ba286 100644 --- a/src/main/java/dev/zontreck/essentials/commands/teleport/TeleportActioner.java +++ b/src/main/java/dev/zontreck/essentials/commands/teleport/TeleportActioner.java @@ -27,7 +27,8 @@ public class TeleportActioner // 10-05-2022 - Adjusted to 100 on duration due to a small issue where it would sometimes stop levitation prior to the teleport taking effect. // 02/26/2023 - Adjusted to 200 on duration due to 1.18.2 causing levitation to run out too quickly before teleport // Small tradeoff is the player now levitates slightly longer at the destination. This is acceptable. Compensated by increasing regen strength by 1 - MobEffectInstance levitate = new MobEffectInstance(MobEffects.LEVITATION, 200, 1, true, true); + // 12/15/2023 - Adjusted to 150 on duration to attempt to fix the levitate effect being too long + MobEffectInstance levitate = new MobEffectInstance(MobEffects.LEVITATION, 150, 1, true, true); // 05/15/2023 - Add feather falling as a effect that lasts longer than levitate to avoid damaging the player. MobEffectInstance feathers = new MobEffectInstance(MobEffects.SLOW_FALLING, 400, 2, true, true);