+ update particle
This commit is contained in:
		@@ -556,7 +556,7 @@ public enum EffLib {
 | 
				
			|||||||
     * @return Whether the data type is correct or not
 | 
					     * @return Whether the data type is correct or not
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    private static boolean isDataCorrect(EffLib effect, ParticleData data) {
 | 
					    private static boolean isDataCorrect(EffLib effect, ParticleData data) {
 | 
				
			||||||
        return ((effect == BLOCK_CRACK || effect == BLOCK_DUST) && data instanceof BlockData) || (effect == ITEM_CRACK && data instanceof ItemData);
 | 
					        return ((effect == BLOCK_CRACK || effect == BLOCK_DUST || effect == FALLING_DUST) && data instanceof BlockData) || ((effect == ITEM_CRACK) && data instanceof ItemData);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -72,6 +72,6 @@ public class ParticleData {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private boolean isBlockParticle(String name) {
 | 
					    private boolean isBlockParticle(String name) {
 | 
				
			||||||
        return name.equalsIgnoreCase("blockdust") || name.equalsIgnoreCase("blockcrack") || name.equalsIgnoreCase("iconcrack") || name.equalsIgnoreCase("fallingdust");
 | 
					        return name.equalsIgnoreCase("blockdust") || name.equalsIgnoreCase("blockcrack") || name.equalsIgnoreCase("fallingdust");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user