Fixed all compile errors ( Took forever )

This commit is contained in:
ProSavage
2018-07-28 00:31:58 -05:00
parent 403a086ea7
commit 51f157931f
15 changed files with 62 additions and 68 deletions

View File

@@ -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
}
/**