mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Fertile effect should now respect housing territory modifiers.
This commit is contained in:
1 parent
23ffb78ab3
commit
99f09b4037
1 file changed
+1
-1
@@ -23,7 +23,7 @@ public class AlleleEffectFertile extends AlleleEffectThrottled {
|
||||
}
|
||||
|
||||
World world = housing.getWorld();
|
||||
int territorySize[] = genome.getTerritory();
|
||||
int territorySize[] = getModifiedArea(genome, housing);
|
||||
|
||||
int blockX = getRandomOffset(world.rand, housing.getXCoord(), territorySize[0]);
|
||||
int blockZ = getRandomOffset(world.rand, housing.getZCoord(), territorySize[2]);
|
||||
|
||||
Reference in new issue
Block a user