diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-11-29 15:20:44 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-11-29 15:20:44 +0100 |
commit | 2478e290f9f7f6a74bba4ac885cfaef6327bc9ee (patch) | |
tree | 54d9f9d97e3a1ed850f63292e002938e3d8d3ff0 /src/Protocol/Protocol17x.cpp | |
parent | Merge branch 'master' into MobSpawner (diff) | |
download | cuberite-2478e290f9f7f6a74bba4ac885cfaef6327bc9ee.tar cuberite-2478e290f9f7f6a74bba4ac885cfaef6327bc9ee.tar.gz cuberite-2478e290f9f7f6a74bba4ac885cfaef6327bc9ee.tar.bz2 cuberite-2478e290f9f7f6a74bba4ac885cfaef6327bc9ee.tar.lz cuberite-2478e290f9f7f6a74bba4ac885cfaef6327bc9ee.tar.xz cuberite-2478e290f9f7f6a74bba4ac885cfaef6327bc9ee.tar.zst cuberite-2478e290f9f7f6a74bba4ac885cfaef6327bc9ee.zip |
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index 9067131b2..1e5fe5586 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -2670,7 +2670,7 @@ void cProtocol172::cPacketizer::WriteBlockEntity(const cBlockEntity & a_BlockEnt Writer.AddInt("x", MobSpawnerEntity.GetPosX()); Writer.AddInt("y", MobSpawnerEntity.GetPosY()); Writer.AddInt("z", MobSpawnerEntity.GetPosZ()); - Writer.AddString("EntityId", MobSpawnerEntity.GetEntityName()); + Writer.AddString("EntityId", cMonster::MobTypeToVanillaName(MobSpawnerEntity.GetEntity())); Writer.AddShort("Delay", MobSpawnerEntity.GetSpawnDelay()); Writer.AddString("id", "MobSpawner"); break; |