Cleanup EntityFeature code, account for Structure rotation in Features

This commit is contained in:
dfsek
2020-11-17 00:49:43 -07:00
parent 2750d46a98
commit 4c4c31db45
3 changed files with 44 additions and 70 deletions

View File

@@ -69,7 +69,7 @@ public class StructurePopulator extends BlockPopulator {
Debug.stack(e);
}
}
for(Feature f : conf.getFeatures()) f.apply(struc, spawn, chunk); // Apply features.
for(Feature f : conf.getFeatures()) f.apply(struc, rotation, spawn, chunk); // Apply features.
break;
}
}