diff options
author | Mattes D <github@xoft.cz> | 2014-09-13 17:05:59 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-13 17:05:59 +0200 |
commit | 5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b (patch) | |
tree | fcf2f5efe358c8c9ab7e3f54bc3a95a257e9f899 /src/Items/ItemGoldenApple.h | |
parent | Gittip is now Gratipay (diff) | |
parent | Added extra mushroom handler. (diff) | |
download | cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar.gz cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar.bz2 cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar.lz cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar.xz cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar.zst cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.zip |
Diffstat (limited to 'src/Items/ItemGoldenApple.h')
-rw-r--r-- | src/Items/ItemGoldenApple.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Items/ItemGoldenApple.h b/src/Items/ItemGoldenApple.h index 02ac0202c..5f6f1de6c 100644 --- a/src/Items/ItemGoldenApple.h +++ b/src/Items/ItemGoldenApple.h @@ -36,6 +36,7 @@ public: a_Player->AddEntityEffect(cEntityEffect::effFireResistance, 6000, 0); } + a_Player->GetInventory().RemoveOneEquippedItem(); return true; } |