mirror of
				https://e.coding.net/circlecloud/Yum.git
				synced 2025-11-03 20:56:03 +00:00 
			
		
		
		
	fix: async event on primary thread
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
		@@ -31,7 +31,7 @@ public class PluginNetworkEvent extends Event implements Cancellable {
 | 
			
		||||
     *         是否为主线程
 | 
			
		||||
     */
 | 
			
		||||
    public PluginNetworkEvent(Plugin plugin, URI url, boolean isPrimaryThread) {
 | 
			
		||||
        super(true);
 | 
			
		||||
        super(!isPrimaryThread);
 | 
			
		||||
        this.plugin = plugin;
 | 
			
		||||
        this.url = url;
 | 
			
		||||
        this.isPrimaryThread = isPrimaryThread;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user