diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerType.kt | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt index 331d3f111..a90d0eb9f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt @@ -146,7 +146,7 @@ class SlayerQuestWarning { @SubscribeEvent fun onEntityHealthUpdate(event: EntityHealthUpdateEvent) { - if (!(LorenzUtils.inSkyBlock)) return + if (!LorenzUtils.inSkyBlock) return val entity = event.entity if (entity.getLorenzVec().distanceToPlayer() < 6 && isSlayerMob(entity)) { diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerType.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerType.kt index 44937dd7f..6d692e5da 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerType.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerType.kt @@ -1,6 +1,5 @@ package at.hannibal2.skyhanni.features.slayer -import net.minecraft.client.entity.EntityOtherPlayerMP import net.minecraft.entity.monster.EntityBlaze import net.minecraft.entity.monster.EntityEnderman import net.minecraft.entity.monster.EntitySpider @@ -13,6 +12,6 @@ enum class SlayerType(val displayName: String, val clazz: Class<*>) { SVEN("Sven Packmaster", EntityWolf::class.java), VOID("Voidgloom Seraph", EntityEnderman::class.java), INFERNO("Inferno Demonlord", EntityBlaze::class.java), - VAMPIRE("Riftstalker Bloodfiend", EntityOtherPlayerMP::class.java) + VAMPIRE("Riftstalker Bloodfiend", EntityZombie::class.java) ; } |