Permalink
Browse files

Fixed static methods in PerlinNoiseGenerator

  • Loading branch information...
1 parent 8230758 commit dc504c01fd9f55995cf59660de88fb2f9190057d @Dinnerbone Dinnerbone committed Jul 8, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/org/bukkit/util/noise/PerlinNoiseGenerator.java
@@ -189,7 +189,7 @@ public static double getNoise(double x, int octaves, double frequency, double am
* @param amplitude How much to alter the amplitude by each octave
* @return Resulting noise
*/
- public double getNoise(double x, double y, int octaves, double frequency, double amplitude) {
+ public static double getNoise(double x, double y, int octaves, double frequency, double amplitude) {
return instance.noise(x, y, octaves, frequency, amplitude);
}
@@ -204,7 +204,7 @@ public double getNoise(double x, double y, int octaves, double frequency, double
* @param amplitude How much to alter the amplitude by each octave
* @return Resulting noise
*/
- public double getNoise(double x, double y, double z, int octaves, double frequency, double amplitude) {
+ public static double getNoise(double x, double y, double z, int octaves, double frequency, double amplitude) {
return instance.noise(x, y, z, octaves, frequency, amplitude);
}
}

0 comments on commit dc504c0

Please sign in to comment.