Handle client interact async explicitly

This commit is contained in:
libraryaddict 2022-08-11 06:16:01 +12:00
parent bc26ba6621
commit af254489dc

View File

@ -32,7 +32,7 @@ import org.bukkit.scheduler.BukkitRunnable;
public class PacketListenerClientInteract extends PacketAdapter {
public PacketListenerClientInteract(LibsDisguises plugin) {
super(plugin, ListenerPriority.NORMAL, PacketType.Play.Client.USE_ENTITY);
super(new AdapterParameteters().optionAsync().plugin(plugin).types(PacketType.Play.Client.USE_ENTITY));
}
@Override