Revert null entry removals from game time controller.

This commit is contained in:
MobiusDev
2018-04-21 13:12:40 +00:00
parent 048ec69aad
commit e027e0313b
8 changed files with 0 additions and 15 deletions

View File

@@ -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);
} }

View File

@@ -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);
} }

View File

@@ -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);
} }

View File

@@ -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);
} }

View File

@@ -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);
} }

View File

@@ -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)
{ {

View File

@@ -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);
} }

View File

@@ -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);
} }