diff options
author | madmaxoft <github@xoft.cz> | 2014-07-19 15:23:40 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-19 15:23:40 +0200 |
commit | 08748bafe26145cd61a179abd131a9dba6065450 (patch) | |
tree | 3e69eef8ca94d13b565da38b11699af2d4590e02 /src/Entities | |
parent | CheckBasicStyle: Check spaces around commas. (diff) | |
download | cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.gz cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.bz2 cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.lz cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.xz cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.zst cuberite-08748bafe26145cd61a179abd131a9dba6065450.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Player.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 7376441b4..698f77bf6 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -622,7 +622,8 @@ void cPlayer::FinishEating(void) GetInventory().RemoveOneEquippedItem(); // if the food is mushroom soup, return a bowl to the inventory - if( Item.m_ItemType == E_ITEM_MUSHROOM_SOUP ) { + if (Item.m_ItemType == E_ITEM_MUSHROOM_SOUP) + { cItem emptyBowl(E_ITEM_BOWL, 1, 0, ""); GetInventory().AddItem(emptyBowl, true, true); } |