entity hider: remove pvp hiding restriction
This commit is contained in:
@@ -33,7 +33,6 @@ import net.runelite.api.NPC;
|
||||
import net.runelite.api.Player;
|
||||
import net.runelite.api.Projectile;
|
||||
import net.runelite.api.Renderable;
|
||||
import net.runelite.api.Varbits;
|
||||
import net.runelite.client.callback.Hooks;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.eventbus.Subscribe;
|
||||
@@ -153,13 +152,6 @@ public class EntityHiderPlugin extends Plugin
|
||||
return !(drawingUI ? hideLocalPlayer2D : hideLocalPlayer);
|
||||
}
|
||||
|
||||
final boolean inPvp = client.getVarbitValue(Varbits.PVP_SPEC_ORB) == 1;
|
||||
if (inPvp)
|
||||
{
|
||||
// In PVP we only allow hiding everyone or no one
|
||||
return !(drawingUI ? hideOthers2D : hideOthers);
|
||||
}
|
||||
|
||||
if (hideAttackers && player.getInteracting() == local)
|
||||
{
|
||||
return false; // hide
|
||||
|
||||
Reference in New Issue
Block a user