Fix PopulateChunkEvent.Post not firing
This commit is contained in:
parent
640670052c
commit
bc5313c67b
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ public class ForgeEventFactory
|
|||
|
||||
public static void onChunkPopulate(boolean pre, IChunkGenerator gen, World world, int x, int z, boolean hasVillageGenerated)
|
||||
{
|
||||
MinecraftForge.EVENT_BUS.post(new PopulateChunkEvent.Pre(gen, world, world.rand, x, z, hasVillageGenerated));
|
||||
MinecraftForge.EVENT_BUS.post(pre ? new PopulateChunkEvent.Pre(gen, world, world.rand, x, z, hasVillageGenerated) : new PopulateChunkEvent.Post(gen, world, world.rand, x, z, hasVillageGenerated));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue