summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockJukebox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockJukebox.h')
-rw-r--r--src/Blocks/BlockJukebox.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/Blocks/BlockJukebox.h b/src/Blocks/BlockJukebox.h
index 22b02a2c7..5b655e71d 100644
--- a/src/Blocks/BlockJukebox.h
+++ b/src/Blocks/BlockJukebox.h
@@ -11,26 +11,15 @@
class cBlockJukeboxHandler :
public cClearMetaOnDrop<cBlockEntityHandler>
{
- using super = cClearMetaOnDrop<cBlockEntityHandler>;
-
public:
- cBlockJukeboxHandler(BLOCKTYPE a_BlockType):
- super(a_BlockType)
- {
- }
-
-
+ using cClearMetaOnDrop<cBlockEntityHandler>::cClearMetaOnDrop;
+private:
-
- virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override
+ virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override
{
UNUSED(a_Meta);
return 6;
}
} ;
-
-
-
-