Changed access to use this qualifier

This commit is contained in:
yueh
2014-12-29 15:13:47 +01:00
parent 2a5e57a59b
commit f471513bd0
604 changed files with 11573 additions and 11573 deletions
@@ -33,14 +33,14 @@ public class ContainerOpenContext
public ContainerOpenContext(Object myItem) {
boolean isWorld = myItem instanceof IPart || myItem instanceof TileEntity;
isItem = !isWorld;
this.isItem = !isWorld;
}
public TileEntity getTile()
{
if ( isItem )
if ( this.isItem )
return null;
return w.getTileEntity( x, y, z );
return this.w.getTileEntity( this.x, this.y, this.z );
}
}