mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-02-16 02:20:44 +00:00
fix loot for objects underground
This commit is contained in:
@@ -851,7 +851,7 @@ public interface Engine extends DataProvider, Fallible, LootProvider, BlockUpdat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
IrisBiome biome = getBiome(x, y, z);
|
IrisBiome biome = getSurfaceBiome(x, z);
|
||||||
|
|
||||||
for (IrisObjectPlacement i : biome.getObjects()) {
|
for (IrisObjectPlacement i : biome.getObjects()) {
|
||||||
if (i.getPlace().contains(object)) {
|
if (i.getPlace().contains(object)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user