diff options
author | TheJumper <maximilian.springer@web.de> | 2014-02-23 19:12:34 +0100 |
---|---|---|
committer | TheJumper <maximilian.springer@web.de> | 2014-02-23 19:12:34 +0100 |
commit | 847aef898de868dd88354adfb763e48fad22d6b2 (patch) | |
tree | bb5202265e994a69e16041a86e8199563ee6e940 /src/WorldStorage/NBTChunkSerializer.cpp | |
parent | Fixed Compiling Issues (diff) | |
download | cuberite-847aef898de868dd88354adfb763e48fad22d6b2.tar cuberite-847aef898de868dd88354adfb763e48fad22d6b2.tar.gz cuberite-847aef898de868dd88354adfb763e48fad22d6b2.tar.bz2 cuberite-847aef898de868dd88354adfb763e48fad22d6b2.tar.lz cuberite-847aef898de868dd88354adfb763e48fad22d6b2.tar.xz cuberite-847aef898de868dd88354adfb763e48fad22d6b2.tar.zst cuberite-847aef898de868dd88354adfb763e48fad22d6b2.zip |
Diffstat (limited to 'src/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r-- | src/WorldStorage/NBTChunkSerializer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp index b9d92d2df..c1c659b36 100644 --- a/src/WorldStorage/NBTChunkSerializer.cpp +++ b/src/WorldStorage/NBTChunkSerializer.cpp @@ -416,6 +416,7 @@ void cNBTChunkSerializer::AddMonsterEntity(cMonster * a_Monster) m_Writer.AddFloat("", a_Monster->GetDropChanceLeggings()); m_Writer.AddFloat("", a_Monster->GetDropChanceBoots()); m_Writer.EndList(); + m_Writer.AddByte("CanPickUpLoot", (char)a_Monster->CanPickUpLoot()); switch (a_Monster->GetMobType()) { case cMonster::mtBat: |