Merge pull request #219 from thatsIch/fmpdeprecation
Replace deprecated method calls to FMP
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user