Removed TileEntities hashcode from console logs
This commit is contained in:
parent
71006f32b7
commit
b4a4d30168
3 changed files with 3 additions and 5 deletions
|
@ -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 });
|
||||
}
|
||||
}
|
|
@ -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});
|
||||
|
|
|
@ -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});
|
||||
|
|
Loading…
Reference in a new issue