mirror of
				https://e.coding.net/circlecloud/Yum.git
				synced 2025-11-04 05:06:02 +00:00 
			
		
		
		
	fix: async event on primary thread
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
		
							
								
								
									
										5
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								pom.xml
									
									
									
									
									
								
							@@ -3,7 +3,7 @@
 | 
			
		||||
    <modelVersion>4.0.0</modelVersion>
 | 
			
		||||
 | 
			
		||||
    <artifactId>Yum</artifactId>
 | 
			
		||||
    <version>2.8.1</version>
 | 
			
		||||
    <version>2.8.2</version>
 | 
			
		||||
    <packaging>jar</packaging>
 | 
			
		||||
 | 
			
		||||
    <description>Minecraft 服务器插件管理系统</description>
 | 
			
		||||
@@ -16,8 +16,9 @@
 | 
			
		||||
    </parent>
 | 
			
		||||
 | 
			
		||||
    <properties>
 | 
			
		||||
        <update.description>§a补丁包 2.8.1 版本</update.description>
 | 
			
		||||
        <update.description>§a补丁包 2.8.2 版本</update.description>
 | 
			
		||||
        <update.changes>
 | 
			
		||||
            §619-08-28 §cfix: async event on primary thread
 | 
			
		||||
            §619-08-26 §cfix: 修复不兼容 1.14.4 的问题;
 | 
			
		||||
            §619-02-23 §cfix: 修复不兼容 1.13 的问题;
 | 
			
		||||
        </update.changes>
 | 
			
		||||
 
 | 
			
		||||
@@ -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