Stopped Filling Empty Dispensers

Changed FillContainersOperation so that empty dispensers are not filled
with a stack of arrows on import. Just in case someone needs to use
empty dispensers in their design. As far as I can remember, this won't
affect any of our dungeons - arrow traps are rare. The only dungeon that
I can remember is one by Balgor and it was exported with all of its
dispensers loaded.
This commit is contained in:
SenseiKiwi 2014-03-23 11:38:28 -04:00
parent bf2f5da672
commit da579bc23d

View file

@ -57,16 +57,6 @@ public class FillContainersOperation extends WorldOperation
}
}
}
// Fill dispensers
if (tileEntity instanceof TileEntityDispenser)
{
TileEntityDispenser dispenser = (TileEntityDispenser) tileEntity;
if (isInventoryEmpty(dispenser))
{
dispenser.addItem(new ItemStack(Item.arrow, 64));
}
}
}
return true;
}