diff --git a/runelite-client/src/main/java/net/runelite/client/util/PvPUtil.java b/runelite-client/src/main/java/net/runelite/client/util/PvPUtil.java index 7dbe269289..03c2a1a07c 100644 --- a/runelite-client/src/main/java/net/runelite/client/util/PvPUtil.java +++ b/runelite-client/src/main/java/net/runelite/client/util/PvPUtil.java @@ -55,10 +55,19 @@ public class PvPUtil public static boolean isAttackable(Client client, Player player) { int wildernessLevel = 0; - if (!(client.getVar(Varbits.IN_WILDERNESS) == 1 || WorldType.isPvpWorld(client.getWorldType()))) + + if (!(client.getVar(Varbits.IN_WILDERNESS) == 1 + || WorldType.isPvpWorld(client.getWorldType()) + || WorldType.isDeadmanWorld(client.getWorldType()))) { return false; } + + if (WorldType.isDeadmanWorld(client.getWorldType())) + { + return true; + } + if (WorldType.isPvpWorld(client.getWorldType())) { if (client.getVar(Varbits.IN_WILDERNESS) != 1)