mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 01:49:49 -05:00
Bug fix
Former-commit-id: 6e937220f5c3b14a4f34a6c83a2eef08ca4a7314
This commit is contained in:
1 parent
b94d9d5dab
commit
3d85eb155b
1 file changed
+2
-1
@@ -28,6 +28,7 @@ import com.comphenix.protocol.events.PacketEvent;
|
||||
import com.comphenix.protocol.wrappers.WrappedDataWatcher;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.ConcurrentLinkedQueue;
|
||||
import java.util.concurrent.ConcurrentSkipListSet;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import org.bukkit.Bukkit;
|
||||
@@ -59,7 +60,7 @@ public class VirtualDisplayItem extends DisplayItem {
|
||||
//The List which store packet sender
|
||||
private final Set<UUID> packetSenders = new ConcurrentSkipListSet<>();
|
||||
|
||||
private final Queue<Runnable> asyncPacketSendQueue = new LinkedList<>();
|
||||
private final Queue<Runnable> asyncPacketSendQueue = new ConcurrentLinkedQueue<>();
|
||||
|
||||
private volatile boolean isDisplay;
|
||||
|
||||
|
||||
Reference in new issue
Block a user