diff options
author | Mat <mail@mathias.is> | 2020-03-27 01:40:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 01:40:16 +0100 |
commit | 996ce888e1c585ad73cedc89800f4d7790d4ab02 (patch) | |
tree | 947dafbc31201580da70db1ce10f7d7f68e97e93 /src/Mobs/Sheep.cpp | |
parent | Decrease attack cooldown for monsters (#4542) (diff) | |
download | cuberite-996ce888e1c585ad73cedc89800f4d7790d4ab02.tar cuberite-996ce888e1c585ad73cedc89800f4d7790d4ab02.tar.gz cuberite-996ce888e1c585ad73cedc89800f4d7790d4ab02.tar.bz2 cuberite-996ce888e1c585ad73cedc89800f4d7790d4ab02.tar.lz cuberite-996ce888e1c585ad73cedc89800f4d7790d4ab02.tar.xz cuberite-996ce888e1c585ad73cedc89800f4d7790d4ab02.tar.zst cuberite-996ce888e1c585ad73cedc89800f4d7790d4ab02.zip |
Diffstat (limited to 'src/Mobs/Sheep.cpp')
-rw-r--r-- | src/Mobs/Sheep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Sheep.cpp b/src/Mobs/Sheep.cpp index 4cc871879..34019cfc6 100644 --- a/src/Mobs/Sheep.cpp +++ b/src/Mobs/Sheep.cpp @@ -117,7 +117,7 @@ void cSheep::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { // The sheep ate the grass so we change it to dirt m_World->SetBlock(PosX, PosY, PosZ, E_BLOCK_DIRT, 0); - GetWorld()->BroadcastSoundParticleEffect(EffectID::PARTICLE_BLOCK_BREAK, {PosX, PosY, PosX}, E_BLOCK_GRASS); + GetWorld()->BroadcastSoundParticleEffect(EffectID::PARTICLE_BLOCK_BREAK, {PosX, PosY, PosZ}, E_BLOCK_GRASS); m_IsSheared = false; m_World->BroadcastEntityMetadata(*this); } |