diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-06-26 15:56:03 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-06-26 15:56:03 +0200 |
commit | f96955496f4e53105b045fb7f3fa7d34ed82b147 (patch) | |
tree | b36992165b564a3e18107f6f3c15923e8990724e /src/Entities/ArrowEntity.cpp | |
parent | Merge branch 'master' into Bow (diff) | |
download | cuberite-f96955496f4e53105b045fb7f3fa7d34ed82b147.tar cuberite-f96955496f4e53105b045fb7f3fa7d34ed82b147.tar.gz cuberite-f96955496f4e53105b045fb7f3fa7d34ed82b147.tar.bz2 cuberite-f96955496f4e53105b045fb7f3fa7d34ed82b147.tar.lz cuberite-f96955496f4e53105b045fb7f3fa7d34ed82b147.tar.xz cuberite-f96955496f4e53105b045fb7f3fa7d34ed82b147.tar.zst cuberite-f96955496f4e53105b045fb7f3fa7d34ed82b147.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/ArrowEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/ArrowEntity.cpp b/src/Entities/ArrowEntity.cpp index e46d21515..6d74b387a 100644 --- a/src/Entities/ArrowEntity.cpp +++ b/src/Entities/ArrowEntity.cpp @@ -134,7 +134,7 @@ void cArrowEntity::CollectedBy(cPlayer * a_Dest) { if (m_IsInGround && !m_bIsCollected && CanPickup(*a_Dest)) { - if (m_PickupState == psInSurvivalOrCreative) + if (!a_Dest->IsGameModeCreative()) { int NumAdded = a_Dest->GetInventory().AddItem(E_ITEM_ARROW); if (NumAdded == 0) |