Prevent RequestTargetActionMenu when player is targeting disabled.

This commit is contained in:
MobiusDevelopment
2019-12-12 01:40:08 +00:00
parent fb7cab64bb
commit 88084387a3
8 changed files with 8 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ public class RequestTargetActionMenu implements IClientIncomingPacket
public void run(GameClient client)
{
final PlayerInstance player = client.getPlayer();
if (player == null)
if ((player == null) || player.isTargetingDisabled())
{
return;
}