Merge branch '6.0.x' of github.com:BuildCraft/BuildCraft into 6.1.x
This commit is contained in:
commit
3f752cca4b
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ public class SpringPopulate {
|
|||
@SubscribeEvent
|
||||
public void populate(PopulateChunkEvent.Post event) {
|
||||
|
||||
boolean doGen = TerrainGen.populate(event.chunkProvider, event.world, event.rand, event.chunkX, event.chunkX, event.hasVillageGenerated, PopulateChunkEvent.Populate.EventType.CUSTOM);
|
||||
boolean doGen = TerrainGen.populate(event.chunkProvider, event.world, event.rand, event.chunkX, event.chunkZ, event.hasVillageGenerated, PopulateChunkEvent.Populate.EventType.CUSTOM);
|
||||
|
||||
if (!doGen) {
|
||||
event.setResult(Result.ALLOW);
|
||||
|
|
|
@ -61,7 +61,7 @@ public final class OilPopulate {
|
|||
|
||||
@SubscribeEvent
|
||||
public void populate(PopulateChunkEvent.Pre event) {
|
||||
boolean doGen = TerrainGen.populate(event.chunkProvider, event.world, event.rand, event.chunkX, event.chunkX, event.hasVillageGenerated, EVENT_TYPE);
|
||||
boolean doGen = TerrainGen.populate(event.chunkProvider, event.world, event.rand, event.chunkX, event.chunkZ, event.hasVillageGenerated, EVENT_TYPE);
|
||||
|
||||
if (!doGen) {
|
||||
event.setResult(Result.ALLOW);
|
||||
|
|
Loading…
Reference in a new issue