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:
parent
bf2f5da672
commit
da579bc23d
1 changed files with 0 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue