Did some work on the Inversion Pillar

This commit is contained in:
WayofTime 2016-09-10 20:15:17 -04:00
parent 24b4c4b8d1
commit aad1b541f8
2 changed files with 84 additions and 20 deletions

View file

@ -61,14 +61,16 @@ public class InversionPillarHandler
if (posList != null)
{
posList.remove(pos);
List<BlockPos> newList = new ArrayList<BlockPos>();
Iterator<BlockPos> itr = posList.iterator();
while (itr.hasNext())
{
BlockPos newPos = itr.next();
if (newPos.equals(pos))
{
continue;
}
if (world.getTileEntity(newPos) instanceof TileInversionPillar) //Make this check... more efficient somehow.
{
newList.add(newPos);