版本更新至 3.581
修复:EffLib 工具版本获取错误的问题。 ParticleEffect 作者估计做梦都没想到 1.9 版本之后不是 2.0,是 1.10
This commit is contained in:
		@@ -389,22 +389,22 @@ public enum EffLib {
 | 
			
		||||
	/**
 | 
			
		||||
	 * <20><>Ϣ
 | 
			
		||||
	 */
 | 
			
		||||
    DRAGON_BREATH("dragonbreath", 42, 9, new ParticleProperty[0]),
 | 
			
		||||
    DRAGON_BREATH("dragonbreath", 42, 9),
 | 
			
		||||
    
 | 
			
		||||
    /**
 | 
			
		||||
     * ĩ<><C4A9><EFBFBD><EFBFBD>
 | 
			
		||||
     */
 | 
			
		||||
    END_ROD("endrod", 43, 9, new ParticleProperty[0]),
 | 
			
		||||
    END_ROD("endrod", 43, 9),
 | 
			
		||||
    
 | 
			
		||||
    /**
 | 
			
		||||
     * <20>˺<EFBFBD>
 | 
			
		||||
     */
 | 
			
		||||
    DAMAGE_INDICATOR("damageIndicator", 44, 9, new ParticleProperty[0]),
 | 
			
		||||
    DAMAGE_INDICATOR("damageIndicator", 44, 9),
 | 
			
		||||
    
 | 
			
		||||
    /**
 | 
			
		||||
     * <20>ӿ<EFBFBD>
 | 
			
		||||
     */
 | 
			
		||||
    SWEEP_ATTACK("sweepAttack", 45, 9, new ParticleProperty[0]);
 | 
			
		||||
    SWEEP_ATTACK("sweepAttack", 45, 9);
 | 
			
		||||
 | 
			
		||||
	private static final Map<String, EffLib> NAME_MAP = new HashMap<String, EffLib>();
 | 
			
		||||
	private static final Map<Integer, EffLib> ID_MAP = new HashMap<Integer, EffLib>();
 | 
			
		||||
@@ -1426,7 +1426,7 @@ public enum EffLib {
 | 
			
		||||
				return;
 | 
			
		||||
			}
 | 
			
		||||
			try {
 | 
			
		||||
				version = Integer.parseInt(Character.toString(PackageType.getServerVersion().charAt(3)));
 | 
			
		||||
				version = Integer.valueOf(PackageType.getServerVersion().split("_")[1]);
 | 
			
		||||
				if (version > 7) {
 | 
			
		||||
					enumParticle = PackageType.MINECRAFT_SERVER.getClass("EnumParticle");
 | 
			
		||||
				}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user