From bb396c8cc00b167f73c50653f66df856d415f5d0 Mon Sep 17 00:00:00 2001 From: faketruth Date: Thu, 16 Feb 2012 15:40:38 +0000 Subject: Heightmap is properly generated after loading chunks now, so /spawn and /top should work properly again git-svn-id: http://mc-server.googlecode.com/svn/trunk@274 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunk.cpp | 2 ++ webadmin/template.html | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/source/cChunk.cpp b/source/cChunk.cpp index 89d03bfb5..1383a49d9 100644 --- a/source/cChunk.cpp +++ b/source/cChunk.cpp @@ -238,6 +238,8 @@ void cChunk::SetAllData(const char * a_BlockData, cEntityList & a_Entities, cBlo // Create block entities that the loader didn't load; fill them with defaults CreateBlockEntities(); + + CalculateHeightmap(); } diff --git a/webadmin/template.html b/webadmin/template.html index dbe408c9f..a607c3f53 100644 --- a/webadmin/template.html +++ b/webadmin/template.html @@ -269,8 +269,13 @@ width: 700px; } - #main table th { + #main table tr th { text-align: left; + background: #f6f6f6; + padding: 0px 20px; + height: 20px; + line-height: 20px; + border-bottom: 1px solid #ddd; } #main table tr td { -- cgit v1.2.3