diff options
author | changyong guo <guo1487@163.com> | 2018-07-23 01:35:32 +0200 |
---|---|---|
committer | peterbell10 <peterbell10@live.co.uk> | 2018-07-23 01:35:32 +0200 |
commit | 7b0db672d1ff72caec1f45cbc0c855680337766d (patch) | |
tree | df2d4d43418ba307983e5be1d2ed4999c786f02a /src/Items/ItemBucket.h | |
parent | recover hotbar selected slot after reconnect (#4249) (diff) | |
download | cuberite-7b0db672d1ff72caec1f45cbc0c855680337766d.tar cuberite-7b0db672d1ff72caec1f45cbc0c855680337766d.tar.gz cuberite-7b0db672d1ff72caec1f45cbc0c855680337766d.tar.bz2 cuberite-7b0db672d1ff72caec1f45cbc0c855680337766d.tar.lz cuberite-7b0db672d1ff72caec1f45cbc0c855680337766d.tar.xz cuberite-7b0db672d1ff72caec1f45cbc0c855680337766d.tar.zst cuberite-7b0db672d1ff72caec1f45cbc0c855680337766d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemBucket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemBucket.h b/src/Items/ItemBucket.h index 2c93c3856..f45dbae3e 100644 --- a/src/Items/ItemBucket.h +++ b/src/Items/ItemBucket.h @@ -140,7 +140,7 @@ public: return false; } - if (a_Player->GetGameMode() != gmCreative) + if (!a_Player->IsGameModeCreative()) { // Remove fluid bucket, add empty bucket: if (!a_Player->GetInventory().RemoveOneEquippedItem()) |