From c4502c54f5be9ac5f34153b61346a36d42b0a275 Mon Sep 17 00:00:00 2001 From: BerryRock0 Date: Mon, 20 Oct 2025 15:43:39 -0400 Subject: [PATCH] Ignore creative in KillAura.java On some servers, Killaura recognizes a survival mode player as a creative mode player. This patch allows client user to ignore targets gamemode. --- .../meteorclient/systems/modules/combat/KillAura.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/java/meteordevelopment/meteorclient/systems/modules/combat/KillAura.java b/src/main/java/meteordevelopment/meteorclient/systems/modules/combat/KillAura.java index e641a96f24..cf0b0ea5d1 100644 --- a/src/main/java/meteordevelopment/meteorclient/systems/modules/combat/KillAura.java +++ b/src/main/java/meteordevelopment/meteorclient/systems/modules/combat/KillAura.java @@ -166,6 +166,13 @@ public class KillAura extends Module { .build() ); + private final Setting ignoreCreative = sgTargeting.add(new BoolSetting.Builder() + .name("ignore-creative") + .description("Whether or not to attack players with creative mode.") + .defaultValue(false) + .build() + ); + private final Setting ignoreNamed = sgTargeting.add(new BoolSetting.Builder() .name("ignore-named") .description("Whether or not to attack mobs with a name.") @@ -408,7 +415,7 @@ private boolean entityCheck(Entity entity) { if (entity instanceof WolfEntity wolf && !wolf.isAttacking()) return false; } if (entity instanceof PlayerEntity player) { - if (player.isCreative()) return false; + if (!ignoreCreative.get() && player.isCreative()) return false; if (!Friends.get().shouldAttack(player)) return false; if (shieldMode.get() == ShieldMode.Ignore && player.isBlocking()) return false; }