summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-09-25 12:49:18 +0200
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-09-25 14:11:39 +0200
commitf1270cb7a1e70b29579380ad30d3fa5c4d41ee93 (patch)
tree5ce66d38d71c315ef7c91c0f55d7175bbe5db628 /src/WorldStorage
parentMerge pull request #2478 from cuberite/FixArmBuild (diff)
downloadcuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.gz
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.bz2
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.lz
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.xz
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.zst
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.zip
Diffstat (limited to 'src/WorldStorage')
-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))
{