diff options
Diffstat (limited to 'src/Mobs/Chicken.cpp')
-rw-r--r-- | src/Mobs/Chicken.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Chicken.cpp b/src/Mobs/Chicken.cpp index bb0a4efbf..cc9609450 100644 --- a/src/Mobs/Chicken.cpp +++ b/src/Mobs/Chicken.cpp @@ -40,7 +40,7 @@ void cChicken::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { cItems Drops; m_EggDropTimer = 0; - Drops.emplace_back(E_ITEM_EGG, char(1)); + Drops.emplace_back(E_ITEM_EGG, static_cast<char>(1)); m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10); } else |