Revert null entry removals from game time controller.
This commit is contained in:
@@ -17,7 +17,6 @@
|
|||||||
package com.l2jmobius.gameserver;
|
package com.l2jmobius.gameserver;
|
||||||
|
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
@@ -129,7 +128,6 @@ public final class GameTimeController extends Thread
|
|||||||
*/
|
*/
|
||||||
private void moveObjects()
|
private void moveObjects()
|
||||||
{
|
{
|
||||||
_movingObjects.removeAll(Collections.singleton(null));
|
|
||||||
_movingObjects.removeIf(L2Character::updatePosition);
|
_movingObjects.removeIf(L2Character::updatePosition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
package com.l2jmobius.gameserver;
|
package com.l2jmobius.gameserver;
|
||||||
|
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
@@ -129,7 +128,6 @@ public final class GameTimeController extends Thread
|
|||||||
*/
|
*/
|
||||||
private void moveObjects()
|
private void moveObjects()
|
||||||
{
|
{
|
||||||
_movingObjects.removeAll(Collections.singleton(null));
|
|
||||||
_movingObjects.removeIf(L2Character::updatePosition);
|
_movingObjects.removeIf(L2Character::updatePosition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
package com.l2jmobius.gameserver;
|
package com.l2jmobius.gameserver;
|
||||||
|
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
@@ -129,7 +128,6 @@ public final class GameTimeController extends Thread
|
|||||||
*/
|
*/
|
||||||
private void moveObjects()
|
private void moveObjects()
|
||||||
{
|
{
|
||||||
_movingObjects.removeAll(Collections.singleton(null));
|
|
||||||
_movingObjects.removeIf(L2Character::updatePosition);
|
_movingObjects.removeIf(L2Character::updatePosition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
package com.l2jmobius.gameserver;
|
package com.l2jmobius.gameserver;
|
||||||
|
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
@@ -129,7 +128,6 @@ public final class GameTimeController extends Thread
|
|||||||
*/
|
*/
|
||||||
private void moveObjects()
|
private void moveObjects()
|
||||||
{
|
{
|
||||||
_movingObjects.removeAll(Collections.singleton(null));
|
|
||||||
_movingObjects.removeIf(L2Character::updatePosition);
|
_movingObjects.removeIf(L2Character::updatePosition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
package com.l2jmobius.gameserver;
|
package com.l2jmobius.gameserver;
|
||||||
|
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
@@ -129,7 +128,6 @@ public final class GameTimeController extends Thread
|
|||||||
*/
|
*/
|
||||||
private void moveObjects()
|
private void moveObjects()
|
||||||
{
|
{
|
||||||
_movingObjects.removeAll(Collections.singleton(null));
|
|
||||||
_movingObjects.removeIf(L2Character::updatePosition);
|
_movingObjects.removeIf(L2Character::updatePosition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -329,7 +329,6 @@ public class L2Party extends AbstractPlayerGroup
|
|||||||
broadcastPacket(new ExPartyPetWindowAdd(player.getSummon()));
|
broadcastPacket(new ExPartyPetWindowAdd(player.getSummon()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// adjust party level
|
// adjust party level
|
||||||
if (player.getLevel() > _partyLvl)
|
if (player.getLevel() > _partyLvl)
|
||||||
{
|
{
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
package com.l2jmobius.gameserver;
|
package com.l2jmobius.gameserver;
|
||||||
|
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
@@ -129,7 +128,6 @@ public final class GameTimeController extends Thread
|
|||||||
*/
|
*/
|
||||||
private void moveObjects()
|
private void moveObjects()
|
||||||
{
|
{
|
||||||
_movingObjects.removeAll(Collections.singleton(null));
|
|
||||||
_movingObjects.removeIf(L2Character::updatePosition);
|
_movingObjects.removeIf(L2Character::updatePosition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
package com.l2jmobius.gameserver;
|
package com.l2jmobius.gameserver;
|
||||||
|
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
@@ -129,7 +128,6 @@ public final class GameTimeController extends Thread
|
|||||||
*/
|
*/
|
||||||
private void moveObjects()
|
private void moveObjects()
|
||||||
{
|
{
|
||||||
_movingObjects.removeAll(Collections.singleton(null));
|
|
||||||
_movingObjects.removeIf(L2Character::updatePosition);
|
_movingObjects.removeIf(L2Character::updatePosition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user