Merge pull request #219 from thatsIch/fmpdeprecation
Replace deprecated method calls to FMP
This commit is contained in:
commit
db56add2ac
1 changed files with 2 additions and 2 deletions
|
@ -387,7 +387,7 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
|
|||
@Override
|
||||
public DimensionalCoord getLocation()
|
||||
{
|
||||
return new DimensionalCoord( getTile() );
|
||||
return new DimensionalCoord( this.tile() );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -496,7 +496,7 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
|
|||
public void markForSave()
|
||||
{
|
||||
// mark the chunk for save...
|
||||
TileEntity te = getTile();
|
||||
TileEntity te = this.tile();
|
||||
if ( te != null && te.getWorldObj() != null )
|
||||
te.getWorldObj().getChunkFromBlockCoords( x(), z() ).isModified = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue