Better packet logging, specifically for the more CPU intensive packets

This commit is contained in:
aidancbrady committed 2015-06-17 15:17:09 -04:00
1 parent 838ad33756
commit ace9dec4df
3 files changed
+19 -15

No files matched your search

@@ -58,6 +58,8 @@ public class PacketTileEntity implements IMessageHandler<TileEntityMessage, IMes
dataStream.writeInt(coord4D.yCoord);
dataStream.writeInt(coord4D.zCoord);
dataStream.writeInt(coord4D.dimensionId);
PacketHandler.log("Sending TileEntity packet from coordinate " + coord4D);
PacketHandler.encode(new Object[] {parameters}, dataStream);
}