mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-19 07:11:02 +00:00
Disabled blockdrops as hotfix.
This commit is contained in:
@@ -623,7 +623,7 @@ public class IrisWorldManager extends EngineAssignedWorldManager {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
KList<ItemStack> d = new KList<>();
|
/*KList<ItemStack> d = new KList<>();
|
||||||
IrisBiome b = getEngine().getBiome(e.getBlock().getLocation().clone().subtract(0, getEngine().getWorld().minHeight(), 0));
|
IrisBiome b = getEngine().getBiome(e.getBlock().getLocation().clone().subtract(0, getEngine().getWorld().minHeight(), 0));
|
||||||
List<IrisBlockDrops> dropProviders = filterDrops(b.getBlockDrops(), e, getData());
|
List<IrisBlockDrops> dropProviders = filterDrops(b.getBlockDrops(), e, getData());
|
||||||
|
|
||||||
@@ -642,7 +642,7 @@ public class IrisWorldManager extends EngineAssignedWorldManager {
|
|||||||
if(d.isNotEmpty()) {
|
if(d.isNotEmpty()) {
|
||||||
World w = e.getBlock().getWorld();
|
World w = e.getBlock().getWorld();
|
||||||
J.s(() -> d.forEach(item -> w.dropItemNaturally(e.getBlock().getLocation().clone().add(.5, .5, .5), item)));
|
J.s(() -> d.forEach(item -> w.dropItemNaturally(e.getBlock().getLocation().clone().add(.5, .5, .5), item)));
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user