diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-02-28 15:29:50 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-02-28 15:29:50 +0100 |
commit | 27b98dec2b62a1fe88130c6a5c2c840dde293a5e (patch) | |
tree | 6c92a2e4f8614e74362d2695961a9ffba8d08965 /src/Mobs | |
parent | Fix Double Slabs, fix Slab Meta and add more things to burnable (diff) | |
parent | Merge pull request #709 from Howaner/GlobalFixes (diff) | |
download | cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar.gz cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar.bz2 cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar.lz cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar.xz cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar.zst cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.zip |
Diffstat (limited to '')
-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; } } |