diff options
author | andrew <xdotftw@gmail.com> | 2014-02-17 15:27:12 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-02-17 15:27:12 +0100 |
commit | 3b24bc870bb39a8b8812ed307250e1188b9ff788 (patch) | |
tree | 8b6cf830e06a0fe6bd1eb8769ba571f9316a4707 /src/Entities | |
parent | cMap::UpdateRadius (diff) | |
download | cuberite-3b24bc870bb39a8b8812ed307250e1188b9ff788.tar cuberite-3b24bc870bb39a8b8812ed307250e1188b9ff788.tar.gz cuberite-3b24bc870bb39a8b8812ed307250e1188b9ff788.tar.bz2 cuberite-3b24bc870bb39a8b8812ed307250e1188b9ff788.tar.lz cuberite-3b24bc870bb39a8b8812ed307250e1188b9ff788.tar.xz cuberite-3b24bc870bb39a8b8812ed307250e1188b9ff788.tar.zst cuberite-3b24bc870bb39a8b8812ed307250e1188b9ff788.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Player.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 286d43cf6..fdf8d4303 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -254,6 +254,9 @@ void cPlayer::Tick(float a_Dt, cChunk & a_Chunk) HandleFloater(); } + // Update items (e.g. Maps) + m_Inventory.UpdateItems(); + // Send Player List (Once per m_LastPlayerListTime/1000 ms) cTimer t1; if (m_LastPlayerListTime + cPlayer::PLAYER_LIST_TIME_MS <= t1.GetNowTime()) |