mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-01-18 16:26:26 +01:00
quick fix
This commit is contained in:
parent
aae2ecd1f0
commit
9caaac6efb
@ -7,10 +7,7 @@ import gearth.services.packet_info.PacketInfo;
|
||||
import gearth.services.packet_info.PacketInfoManager;
|
||||
import org.reactfx.util.Lists;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.*;
|
||||
import java.util.function.BiFunction;
|
||||
import java.util.function.Consumer;
|
||||
import java.util.function.Function;
|
||||
@ -119,7 +116,7 @@ public abstract class ExtensionBase extends IExtension {
|
||||
hashOrNameIncomingListeners :
|
||||
hashOrNameOutgoingListeners ;
|
||||
|
||||
List<MessageListener> correctListeners = new ArrayList<>();
|
||||
Set<MessageListener> correctListeners = new HashSet<>();
|
||||
|
||||
synchronized (listeners) {
|
||||
if (listeners.containsKey(-1)) { // registered on all packets
|
||||
|
Loading…
Reference in New Issue
Block a user