diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-12 23:06:59 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-12 23:06:59 +0100 |
commit | 6ed4f476ce1365c5878c2726de331c892d00c256 (patch) | |
tree | fb110edbb61d94a922e4e1a8ad6b01e1d7006342 /src/BlockEntities | |
parent | Removed some unneeded BroadcastWholeWindow()s (diff) | |
download | cuberite-6ed4f476ce1365c5878c2726de331c892d00c256.tar cuberite-6ed4f476ce1365c5878c2726de331c892d00c256.tar.gz cuberite-6ed4f476ce1365c5878c2726de331c892d00c256.tar.bz2 cuberite-6ed4f476ce1365c5878c2726de331c892d00c256.tar.lz cuberite-6ed4f476ce1365c5878c2726de331c892d00c256.tar.xz cuberite-6ed4f476ce1365c5878c2726de331c892d00c256.tar.zst cuberite-6ed4f476ce1365c5878c2726de331c892d00c256.zip |
Diffstat (limited to 'src/BlockEntities')
-rw-r--r-- | src/BlockEntities/JukeboxEntity.h | 2 | ||||
-rw-r--r-- | src/BlockEntities/NoteEntity.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/BlockEntities/JukeboxEntity.h b/src/BlockEntities/JukeboxEntity.h index 996de965b..734d7bb66 100644 --- a/src/BlockEntities/JukeboxEntity.h +++ b/src/BlockEntities/JukeboxEntity.h @@ -43,6 +43,8 @@ public: void EjectRecord(void); // tolua_end + + static const char * GetClassStatic(void) { return "cJukeboxEntity"; } virtual void UsedBy(cPlayer * a_Player) override; virtual void SendTo(cClientHandle &) override { }; diff --git a/src/BlockEntities/NoteEntity.h b/src/BlockEntities/NoteEntity.h index cf78aeac6..b698899c0 100644 --- a/src/BlockEntities/NoteEntity.h +++ b/src/BlockEntities/NoteEntity.h @@ -54,6 +54,8 @@ public: virtual void UsedBy(cPlayer * a_Player) override; virtual void SendTo(cClientHandle &) override { }; + static const char * GetClassStatic(void) { return "cNoteEntity"; } + private: char m_Pitch; } ; // tolua_export |