diff options
author | Alexander Harkness <bearbin@gmail.com> | 2014-02-27 22:15:47 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2014-02-27 22:15:47 +0100 |
commit | 03624f33a7cd700493aa48ff9451ae7cd0a4e317 (patch) | |
tree | d90d89d958521f42f8f728d3d7535a5e44af5450 | |
parent | Added a "nooutbuf" cmdline param. (diff) | |
parent | added mooshroom to cow conversion (diff) | |
download | cuberite-03624f33a7cd700493aa48ff9451ae7cd0a4e317.tar cuberite-03624f33a7cd700493aa48ff9451ae7cd0a4e317.tar.gz cuberite-03624f33a7cd700493aa48ff9451ae7cd0a4e317.tar.bz2 cuberite-03624f33a7cd700493aa48ff9451ae7cd0a4e317.tar.lz cuberite-03624f33a7cd700493aa48ff9451ae7cd0a4e317.tar.xz cuberite-03624f33a7cd700493aa48ff9451ae7cd0a4e317.tar.zst cuberite-03624f33a7cd700493aa48ff9451ae7cd0a4e317.zip |
-rw-r--r-- | src/Mobs/Mooshroom.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Mobs/Mooshroom.cpp b/src/Mobs/Mooshroom.cpp index 8e4c52ae6..81bd3e3b4 100644 --- a/src/Mobs/Mooshroom.cpp +++ b/src/Mobs/Mooshroom.cpp @@ -67,6 +67,8 @@ void cMooshroom::OnRightClicked(cPlayer & a_Player) cItems Drops; Drops.push_back(cItem(E_BLOCK_RED_MUSHROOM, 5, 0)); m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10); + m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), cMonster::mtCow); + Destroy(); } break; } } |