summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/JukeboxEntity.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-01 07:47:17 +0200
committerMattes D <github@xoft.cz>2014-10-01 07:47:17 +0200
commit3ccda572b3535a5ac783290c4b6f082b2d1b36a1 (patch)
tree6470a1932417dbba2fe4145ae631fdd323ad7fad /src/BlockEntities/JukeboxEntity.cpp
parentMerge pull request #1487 from mc-server/BlockFixes (diff)
parentRemoved WSSCompact (diff)
downloadcuberite-3ccda572b3535a5ac783290c4b6f082b2d1b36a1.tar
cuberite-3ccda572b3535a5ac783290c4b6f082b2d1b36a1.tar.gz
cuberite-3ccda572b3535a5ac783290c4b6f082b2d1b36a1.tar.bz2
cuberite-3ccda572b3535a5ac783290c4b6f082b2d1b36a1.tar.lz
cuberite-3ccda572b3535a5ac783290c4b6f082b2d1b36a1.tar.xz
cuberite-3ccda572b3535a5ac783290c4b6f082b2d1b36a1.tar.zst
cuberite-3ccda572b3535a5ac783290c4b6f082b2d1b36a1.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/JukeboxEntity.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/BlockEntities/JukeboxEntity.cpp b/src/BlockEntities/JukeboxEntity.cpp
index 1131b99b0..bb9b335e0 100644
--- a/src/BlockEntities/JukeboxEntity.cpp
+++ b/src/BlockEntities/JukeboxEntity.cpp
@@ -117,31 +117,3 @@ void cJukeboxEntity::SetRecord(int a_Record)
-
-bool cJukeboxEntity::LoadFromJson(const Json::Value & a_Value)
-{
- m_PosX = a_Value.get("x", 0).asInt();
- m_PosY = a_Value.get("y", 0).asInt();
- m_PosZ = a_Value.get("z", 0).asInt();
-
- m_Record = a_Value.get("Record", 0).asInt();
-
- return true;
-}
-
-
-
-
-
-void cJukeboxEntity::SaveToJson(Json::Value & a_Value)
-{
- a_Value["x"] = m_PosX;
- a_Value["y"] = m_PosY;
- a_Value["z"] = m_PosZ;
-
- a_Value["Record"] = m_Record;
-}
-
-
-
-