Removed TileEntities hashcode from console logs

This commit is contained in:
LemADEC 2015-09-05 00:44:15 +02:00
parent 71006f32b7
commit b4a4d30168
3 changed files with 3 additions and 5 deletions

View file

@ -666,7 +666,7 @@ public class TileEntityLaser extends TileEntityAbstractInterfaced {
@Override
public String toString() {
return String.format("%s/%d Beam \'%d\' Camera \'%d\' @ \'%s\' %d, %d, %d", new Object[] { getClass().getSimpleName(), Integer.valueOf(hashCode()),
return String.format("%s Beam \'%d\' Camera \'%d\' @ \'%s\' %d, %d, %d", new Object[] { getClass().getSimpleName(),
beamFrequency, cameraFrequency, worldObj == null ? "~NULL~" : worldObj.getWorldInfo().getWorldName(), xCoord, yCoord, zCoord });
}
}

View file

@ -132,9 +132,8 @@ public class TileEntityCamera extends TileEntityAbstractInterfaced {
@Override
public String toString() {
return String.format("%s/%d \'%d\' @ \'%s\' %d, %d, %d", new Object[] {
return String.format("%s \'%d\' @ \'%s\' %d, %d, %d", new Object[] {
getClass().getSimpleName(),
Integer.valueOf(hashCode()),
frequency,
worldObj == null ? "~NULL~" : worldObj.getWorldInfo().getWorldName(),
xCoord, yCoord, zCoord});

View file

@ -94,9 +94,8 @@ public class TileEntityMonitor extends TileEntityAbstractInterfaced {
@Override
public String toString() {
return String.format("%s/%d \'%d\' @ \'%s\' %d, %d, %d", new Object[] {
return String.format("%s \'%d\' @ \'%s\' %d, %d, %d", new Object[] {
getClass().getSimpleName(),
Integer.valueOf(hashCode()),
frequency,
worldObj == null ? "~NULL~" : worldObj.getWorldInfo().getWorldName(),
xCoord, yCoord, zCoord});