9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-31 21:06:29 +00:00
This commit is contained in:
Daniel Mills
2020-10-18 08:39:26 -04:00
parent ffecbb2298
commit d67596117f
9 changed files with 2449 additions and 13 deletions

View File

@@ -489,6 +489,11 @@ public class IrisTerrainProvider extends SkyTerrainProvider implements IrisConte
@Override
protected void onSpawn(EntitySpawnEvent e)
{
if(getTarget().getRealWorld() == null || !getTarget().getRealWorld().equals(e.getEntity().getWorld()))
{
return;
}
if(isSpawnable())
{
if(!IrisSettings.get().isSystemEntitySpawnOverrides())