Fixed all compile errors ( Took forever )
This commit is contained in:
@@ -406,7 +406,7 @@ public enum ParticleEffect {
|
||||
* @param requiredVersion Version which is required (1.x)
|
||||
* @param properties Properties of this particle effect
|
||||
*/
|
||||
private ParticleEffect(String name, int id, int requiredVersion, ParticleProperty... properties) {
|
||||
ParticleEffect(String name, int id, int requiredVersion, ParticleProperty... properties) {
|
||||
this.name = name;
|
||||
this.id = id;
|
||||
this.requiredVersion = requiredVersion;
|
||||
@@ -453,7 +453,7 @@ public enum ParticleEffect {
|
||||
*/
|
||||
private static boolean isWater(Location location) {
|
||||
Material material = location.getBlock().getType();
|
||||
return material == Material.WATER || material == Material.STATIONARY_WATER;
|
||||
return material == Material.WATER || material == Material.LEGACY_STATIONARY_WATER;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -910,7 +910,7 @@ public enum ParticleEffect {
|
||||
* @author DarkBlade12
|
||||
* @since 1.7
|
||||
*/
|
||||
public static enum ParticleProperty {
|
||||
public enum ParticleProperty {
|
||||
/**
|
||||
* The particle effect requires water to be displayed
|
||||
*/
|
||||
@@ -926,7 +926,7 @@ public enum ParticleEffect {
|
||||
/**
|
||||
* The particle effect uses the offsets as color values
|
||||
*/
|
||||
COLORABLE;
|
||||
COLORABLE
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user