From 17ab91f50083b50fae35b9a03de4c625d6e3d18d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 26 Jun 2022 22:29:26 -0400 Subject: [PATCH] v1.3.0: properly removed now-unused fall bleed debuff --- .../shatteredpixeldungeon/ShatteredPixelDungeon.java | 3 +++ .../shatteredpixeldungeon/levels/features/Chasm.java | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java index 2631439e0..0baa2e2d7 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java @@ -46,6 +46,9 @@ public class ShatteredPixelDungeon extends Game { super( sceneClass == null ? WelcomeScene.class : sceneClass, platform ); //pre-v1.3.0 + com.watabou.utils.Bundle.addAlias( + com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Bleeding.class, + "com.shatteredpixel.shatteredpixeldungeon.levels.features.Chasm$FallBleed.class" ); com.watabou.utils.Bundle.addAlias( com.shatteredpixel.shatteredpixeldungeon.plants.Mageroyal.class, "com.shatteredpixel.shatteredpixeldungeon.plants.Dreamfoil" ); diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/features/Chasm.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/features/Chasm.java index 6f8d6d8dd..f71d86040 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/features/Chasm.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/features/Chasm.java @@ -173,12 +173,4 @@ public class Chasm implements Hero.Doom { } } - //pre-1.3.0 - public static class FallBleed extends Bleeding implements Hero.Doom { - - @Override - public void onDeath() { - Badges.validateDeathFromFalling(); - } - } }