summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-09-25 10:14:17 +0200
committerMattes D <github@xoft.cz>2015-09-25 10:14:17 +0200
commit82d9ac1e1c95eb3421e062be2334308ee3837560 (patch)
tree110bd8fd9ee0f6f5b830694b5d7cc37257666988 /src/WorldStorage
parentMerge pull request #2478 from cuberite/FixArmBuild (diff)
downloadcuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.gz
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.bz2
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.lz
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.xz
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.zst
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.zip
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp2
-rwxr-xr-xsrc/WorldStorage/WSSAnvil.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index f204ec52b..e2ba416c6 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -415,7 +415,7 @@ void cNBTChunkSerializer::AddFallingBlockEntity(cFallingBlock * a_FallingBlock)
AddBasicEntity(a_FallingBlock, "FallingSand");
m_Writer.AddInt("TileID", a_FallingBlock->GetBlockType());
m_Writer.AddByte("Data", a_FallingBlock->GetBlockMeta());
- m_Writer.AddByte("Time", 1); // Unused in MCServer, Vanilla said to need nonzero
+ m_Writer.AddByte("Time", 1); // Unused in Cuberite, Vanilla said to need nonzero
m_Writer.AddByte("DropItem", 1);
m_Writer.AddByte("HurtEntities", a_FallingBlock->GetBlockType() == E_BLOCK_ANVIL);
m_Writer.EndCompound();
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index dc1b7faff..f0c990037 100755
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -1139,7 +1139,7 @@ cBlockEntity * cWSSAnvil::LoadMobSpawnerFromNBT(const cParsedNBT & a_NBT, int a_
std::unique_ptr<cMobSpawnerEntity> MobSpawner = cpp14::make_unique<cMobSpawnerEntity>(a_BlockX, a_BlockY, a_BlockZ, m_World);
- // Load entity (MCServer worlds):
+ // Load entity (Cuberite worlds):
int Type = a_NBT.FindChildByName(a_TagIdx, "Entity");
if ((Type >= 0) && (a_NBT.GetType(Type) == TAG_Short))
{