From ecaf8a1a66631c3bf75a4426e8b66ad68181ece2 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 1 Mar 2020 01:29:59 +0000 Subject: [PATCH] Starting rotation counter related cleanup. --- .../gameserver/model/actor/Creature.java | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java index b6ddbd4a02..877f337c97 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -205,6 +205,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder private final byte[] _zones = new byte[ZoneId.getZoneCount()]; private boolean _advanceFlag = false; private int _advanceMultiplier = 1; + private byte _startingRotationCounter = 4; /** * Check if the character is in the given zone Id. @@ -381,17 +382,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder getAttackByList().add(creature); } - /** - * Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- *
- * Concept :
- *
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers. In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- *
- */ - - protected byte _startingRotationCounter = 4; - /** * Checks if is starting rotation allowed. * @return true, if is starting rotation allowed @@ -412,10 +402,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder return false; } - /** - * Broadcast packet. - * @param mov the mov - */ public void broadcastPacket(GameServerPacket mov) { if (!(mov instanceof CharInfo))