Always use qualified access for fields and methods

This commit is contained in:
yueh
2017-07-20 21:27:22 +02:00
parent f9cad0758d
commit 15582fd1df
211 changed files with 1086 additions and 1086 deletions
@@ -42,21 +42,21 @@ class ItemHandlerIterator implements Iterator<ItemSlot>
@Override
public boolean hasNext()
{
return slot < itemHandler.getSlots();
return this.slot < this.itemHandler.getSlots();
}
@Override
public ItemSlot next()
{
if( slot >= itemHandler.getSlots() )
if( this.slot >= this.itemHandler.getSlots() )
{
throw new NoSuchElementException();
}
itemSlot.setExtractable( !itemHandler.extractItem( slot, 1, true ).isEmpty() );
itemSlot.setItemStack( itemHandler.getStackInSlot( slot ) );
itemSlot.setSlot( slot );
slot++;
return itemSlot;
this.itemSlot.setExtractable( !this.itemHandler.extractItem( this.slot, 1, true ).isEmpty() );
this.itemSlot.setItemStack( this.itemHandler.getStackInSlot( this.slot ) );
this.itemSlot.setSlot( this.slot );
this.slot++;
return this.itemSlot;
}
}