summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/NoteEntity.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-08-06 14:19:22 +0200
committerTycho <work.tycho+git@gmail.com>2014-08-06 14:19:22 +0200
commit6acddd0cad25078ae2c67e7a0eb353e9d4d100e2 (patch)
tree380eeff37562c319e6933d537e1f63e2c0fcdeb2 /src/BlockEntities/NoteEntity.h
parentFixed multiple inhertance being output by tolua (diff)
downloadcuberite-6acddd0cad25078ae2c67e7a0eb353e9d4d100e2.tar
cuberite-6acddd0cad25078ae2c67e7a0eb353e9d4d100e2.tar.gz
cuberite-6acddd0cad25078ae2c67e7a0eb353e9d4d100e2.tar.bz2
cuberite-6acddd0cad25078ae2c67e7a0eb353e9d4d100e2.tar.lz
cuberite-6acddd0cad25078ae2c67e7a0eb353e9d4d100e2.tar.xz
cuberite-6acddd0cad25078ae2c67e7a0eb353e9d4d100e2.tar.zst
cuberite-6acddd0cad25078ae2c67e7a0eb353e9d4d100e2.zip
Diffstat (limited to '')
-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"; }