diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-23 17:03:39 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2020-09-25 11:07:01 +0200 |
commit | 1a60164848396e0078bd56659f8d43c1e58a03d8 (patch) | |
tree | 1910b8f310ba9fe6d655212c3e14f9daeb61b97c /src/BlockEntities/JukeboxEntity.h | |
parent | Fix cItems::AddItemGrid adding empty items (diff) | |
download | cuberite-1a60164848396e0078bd56659f8d43c1e58a03d8.tar cuberite-1a60164848396e0078bd56659f8d43c1e58a03d8.tar.gz cuberite-1a60164848396e0078bd56659f8d43c1e58a03d8.tar.bz2 cuberite-1a60164848396e0078bd56659f8d43c1e58a03d8.tar.lz cuberite-1a60164848396e0078bd56659f8d43c1e58a03d8.tar.xz cuberite-1a60164848396e0078bd56659f8d43c1e58a03d8.tar.zst cuberite-1a60164848396e0078bd56659f8d43c1e58a03d8.zip |
Diffstat (limited to 'src/BlockEntities/JukeboxEntity.h')
-rw-r--r-- | src/BlockEntities/JukeboxEntity.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/BlockEntities/JukeboxEntity.h b/src/BlockEntities/JukeboxEntity.h index 223861149..5af2012bd 100644 --- a/src/BlockEntities/JukeboxEntity.h +++ b/src/BlockEntities/JukeboxEntity.h @@ -37,7 +37,7 @@ public: // tolua_export bool EjectRecord(void); /** Is in the Jukebox a Record? */ - bool IsPlayingRecord(void); + bool IsPlayingRecord(void) const; static bool IsRecordItem(int a_Item) { @@ -48,6 +48,7 @@ public: // tolua_export // cBlockEntity overrides: virtual void Destroy(void) override; + virtual cItems ConvertToPickups() const override; virtual void CopyFrom(const cBlockEntity & a_Src) override; virtual bool UsedBy(cPlayer * a_Player) override; virtual void SendTo(cClientHandle &) override {} |