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