mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-20 11:32:27 -08:00
Fixed ores generating over spawnpoints
This commit is contained in:
parent
2b0fbd9904
commit
2bdfaef2d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue