Removing unneccesary code

This commit is contained in:
Francesco Macagno 2015-07-30 19:37:41 -07:00
parent a286cf8103
commit 9b3a3da532
4 changed files with 0 additions and 12 deletions

View file

@ -361,7 +361,6 @@ public class EntityJump extends Entity {
} }
if (!planeValid) { if (!planeValid) {
LocalProfiler.stop(); LocalProfiler.stop();
@SuppressWarnings("null")
String msg = "Ship is outside border, unable to reach space!\nClosest transition plane is ~" + closestPlaneDistance + " m away (" String msg = "Ship is outside border, unable to reach space!\nClosest transition plane is ~" + closestPlaneDistance + " m away ("
+ (closestTransitionPlane.dimensionCenterX - closestTransitionPlane.borderSizeX) + ", 250," + (closestTransitionPlane.dimensionCenterX - closestTransitionPlane.borderSizeX) + ", 250,"
+ (closestTransitionPlane.dimensionCenterZ - closestTransitionPlane.borderSizeZ) + ") to (" + (closestTransitionPlane.dimensionCenterZ - closestTransitionPlane.borderSizeZ) + ") to ("

View file

@ -175,7 +175,6 @@ public abstract class TileEntityAbstractMiner extends TileEntityAbstractLaser
return false; return false;
} }
@SuppressWarnings("unused")
private boolean canDig(Block block, int x, int y, int z) {// not used private boolean canDig(Block block, int x, int y, int z) {// not used
// ignore air & fluids // ignore air & fluids
if (block == null || (worldObj.isAirBlock(x, y, z) || (block instanceof IFluidBlock))) { if (block == null || (worldObj.isAirBlock(x, y, z) || (block instanceof IFluidBlock))) {

View file

@ -124,11 +124,6 @@ public class TileEntityLaserReactorMonitor extends TileEntityAbstractLaser {
super.readFromNBT(tag); super.readFromNBT(tag);
} }
@Override
public boolean shouldChunkLoad() {
return false;
}
@Override @Override
public int getMaxEnergyStored() { public int getMaxEnergyStored() {
return WarpDriveConfig.RM_MAX_ENERGY; return WarpDriveConfig.RM_MAX_ENERGY;

View file

@ -23,11 +23,6 @@ public class TileEntityPowerLaser extends TileEntityAbstractLaser implements IPe
String[] methodArray = { "energy", "hasReactor", "side", "sendLaser", "help" }; String[] methodArray = { "energy", "hasReactor", "side", "sendLaser", "help" };
@Override
public boolean shouldChunkLoad() {
return false;
}
public TileEntityPowerReactor scanForReactor() { public TileEntityPowerReactor scanForReactor() {
reactor = null; reactor = null;
TileEntity te; TileEntity te;