Fixed incorrect chunk positions in SpringPopulate and OilPopulate.
This commit is contained in:
parent
51f2e5a787
commit
a698f56719
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