summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-16 16:40:38 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-16 16:40:38 +0100
commitbb396c8cc00b167f73c50653f66df856d415f5d0 (patch)
tree8f0dc24a77600c02a92d5be2609a7ef06ef52cf7
parentChunk is now marked as dirty; saving only dirty chunks; rewritten load / save not to use cChunkPtr; set VC2008 project to level4 warnings; block entities are now loaded and saved properly (diff)
downloadcuberite-bb396c8cc00b167f73c50653f66df856d415f5d0.tar
cuberite-bb396c8cc00b167f73c50653f66df856d415f5d0.tar.gz
cuberite-bb396c8cc00b167f73c50653f66df856d415f5d0.tar.bz2
cuberite-bb396c8cc00b167f73c50653f66df856d415f5d0.tar.lz
cuberite-bb396c8cc00b167f73c50653f66df856d415f5d0.tar.xz
cuberite-bb396c8cc00b167f73c50653f66df856d415f5d0.tar.zst
cuberite-bb396c8cc00b167f73c50653f66df856d415f5d0.zip
Diffstat (limited to '')
-rw-r--r--source/cChunk.cpp2
-rw-r--r--webadmin/template.html7
2 files changed, 8 insertions, 1 deletions
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 {