9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 10:39:07 +00:00

Fixed block drops not firing for biomes.

This commit is contained in:
Vatuu
2022-09-02 23:32:51 +02:00
parent f37d91a530
commit fe3909f594

View File

@@ -624,7 +624,7 @@ public class IrisWorldManager extends EngineAssignedWorldManager {
});
KList<ItemStack> d = new KList<>();
IrisBiome b = getEngine().getBiome(e.getBlock().getLocation());
IrisBiome b = getEngine().getBiome(e.getBlock().getLocation().clone().subtract(0, getEngine().getWorld().minHeight(), 0));
List<IrisBlockDrops> dropProviders = filterDrops(b.getBlockDrops(), e, getData());
if(dropProviders.stream().noneMatch(IrisBlockDrops::isSkipParents)) {