summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/JukeboxEntity.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-09-23 17:03:39 +0200
committerAlexander Harkness <me@bearbin.net>2020-09-25 11:07:01 +0200
commit1a60164848396e0078bd56659f8d43c1e58a03d8 (patch)
tree1910b8f310ba9fe6d655212c3e14f9daeb61b97c /src/BlockEntities/JukeboxEntity.h
parentFix cItems::AddItemGrid adding empty items (diff)
downloadcuberite-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 '')
-rw-r--r--src/BlockEntities/JukeboxEntity.h3
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 {}