Fixed ores generating over spawnpoints

This commit is contained in:
Anuken 2019-07-26 00:11:31 -04:00
parent 2b0fbd9904
commit 2bdfaef2d9

View File

@ -25,7 +25,7 @@ public class OreFilter extends GenerateFilter{
public void apply(){
float noise = noise(in.x, in.y, scl, 1f, octaves, falloff);
if(noise > threshold){
if(noise > threshold && in.ore != Blocks.spawn){
in.ore = ore;
}
}