From e1fc507584ad497939bd5639e3d127953cc7a1db Mon Sep 17 00:00:00 2001 From: "Sam (Xemor)" Date: Mon, 14 Oct 2024 13:23:42 +0100 Subject: [PATCH] Released strongman --- build/generated/sentry/sentry-debug-meta.properties | 4 ++-- .../superheroes/skills/implementations/StrongmanSkill.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/generated/sentry/sentry-debug-meta.properties b/build/generated/sentry/sentry-debug-meta.properties index 5a91710..51c823d 100644 --- a/build/generated/sentry/sentry-debug-meta.properties +++ b/build/generated/sentry/sentry-debug-meta.properties @@ -1,4 +1,4 @@ #Generated by sentry-android-gradle-plugin -#Mon Oct 14 11:02:29 BST 2024 +#Mon Oct 14 12:53:18 BST 2024 io.sentry.build-tool=gradle -io.sentry.bundle-ids=fedc3e48-c93d-4904-bf34-fe4f15b7a21d +io.sentry.bundle-ids=61f2d6e8-878f-49a4-9043-7821dc714e00 diff --git a/src/main/java/me/xemor/superheroes/skills/implementations/StrongmanSkill.java b/src/main/java/me/xemor/superheroes/skills/implementations/StrongmanSkill.java index d3abb4f..d643f04 100644 --- a/src/main/java/me/xemor/superheroes/skills/implementations/StrongmanSkill.java +++ b/src/main/java/me/xemor/superheroes/skills/implementations/StrongmanSkill.java @@ -93,9 +93,9 @@ public void onSneak(PlayerToggleSneakEvent e) { velocity.setZ(velocity.getZ() * strongmanData.getVelocity()); velocity.setY(velocity.getY() * strongmanData.getUpwardsVelocity()); topEntity.getVehicle().removePassenger(topEntity); - for (long i = 2; i < 5; i++) { + for (long i = 1; i < 3; i++) { Superheroes.getScheduling().entitySpecificScheduler(topEntity).runDelayed( - () -> topEntity.setVelocity(velocity), () -> {}, 2L + () -> topEntity.setVelocity(velocity), () -> {}, i ); } }