Merge pull request #219 from thatsIch/fmpdeprecation

Replace deprecated method calls to FMP
This commit is contained in:
FireBall1725 2014-10-01 08:15:24 -04:00
commit db56add2ac

View file

@ -387,7 +387,7 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
@Override @Override
public DimensionalCoord getLocation() public DimensionalCoord getLocation()
{ {
return new DimensionalCoord( getTile() ); return new DimensionalCoord( this.tile() );
} }
@Override @Override
@ -496,7 +496,7 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
public void markForSave() public void markForSave()
{ {
// mark the chunk for save... // mark the chunk for save...
TileEntity te = getTile(); TileEntity te = this.tile();
if ( te != null && te.getWorldObj() != null ) if ( te != null && te.getWorldObj() != null )
te.getWorldObj().getChunkFromBlockCoords( x(), z() ).isModified = true; te.getWorldObj().getChunkFromBlockCoords( x(), z() ).isModified = true;
} }