summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/NoteEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockEntities/NoteEntity.h')
-rw-r--r--src/BlockEntities/NoteEntity.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/BlockEntities/NoteEntity.h b/src/BlockEntities/NoteEntity.h
index dd201e0a9..f538de060 100644
--- a/src/BlockEntities/NoteEntity.h
+++ b/src/BlockEntities/NoteEntity.h
@@ -61,7 +61,10 @@ public:
virtual void SetRedstonePower(bool a_Value)
{
- if (a_Value) MakeSound();
+ if (a_Value)
+ {
+ MakeSound();
+ }
}
static const char * GetClassStatic(void) { return "cNoteEntity"; }