diff options
author | x12xx12x <44411062+12xx12@users.noreply.github.com> | 2021-11-26 19:19:49 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2022-01-14 20:43:29 +0100 |
commit | d7c2c4acf358077cc5d4bc068801a6f34acb1116 (patch) | |
tree | fcbd8c8af02e17bb301d780a19676faad14a2d1c /src/BlockEntities | |
parent | fixed compile error in jenkins and more warnings (diff) | |
download | cuberite-d7c2c4acf358077cc5d4bc068801a6f34acb1116.tar cuberite-d7c2c4acf358077cc5d4bc068801a6f34acb1116.tar.gz cuberite-d7c2c4acf358077cc5d4bc068801a6f34acb1116.tar.bz2 cuberite-d7c2c4acf358077cc5d4bc068801a6f34acb1116.tar.lz cuberite-d7c2c4acf358077cc5d4bc068801a6f34acb1116.tar.xz cuberite-d7c2c4acf358077cc5d4bc068801a6f34acb1116.tar.zst cuberite-d7c2c4acf358077cc5d4bc068801a6f34acb1116.zip |
Diffstat (limited to 'src/BlockEntities')
-rw-r--r-- | src/BlockEntities/HopperEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/HopperEntity.cpp b/src/BlockEntities/HopperEntity.cpp index 6c8a72c7e..d7faca174 100644 --- a/src/BlockEntities/HopperEntity.cpp +++ b/src/BlockEntities/HopperEntity.cpp @@ -254,7 +254,7 @@ bool cHopperEntity::MovePickupsIn(cChunk & a_Chunk) { m_bFoundPickupsAbove = true; - char PreviousCount = m_Contents.GetSlot(i).m_ItemCount; + auto PreviousCount = m_Contents.GetSlot(i).m_ItemCount; Item.m_ItemCount -= m_Contents.ChangeSlotCount(i, Item.m_ItemCount) - PreviousCount; // Set count to however many items were added |