Skip to content

Commit

Permalink
SmelteryLogic IDebuggable
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunstrike committed Dec 9, 2013
1 parent c973e41 commit ec2d946
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/tconstruct/blocks/logic/SmelteryLogic.java
Expand Up @@ -1152,4 +1152,11 @@ public void onDataPacket (INetworkManager net, Packet132TileEntityData packet)
worldObj.markBlockForRenderUpdate(xCoord, yCoord, zCoord);
this.needsUpdate = true;
}

@Override
public void sendDebugToPlayer(EntityPlayer player) {
super.sendDebugToPlayer(player);
player.addChatMessage("[SmelteryLogic] layers: " + layers + ", liquid: " + currentLiquid + "/" + maxLiquid + ", direction: " + direction);
player.addChatMessage("[SmelteryLogic] inUse: " + inUse + ", tick: " + tick);
}
}

0 comments on commit ec2d946

Please sign in to comment.