summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.cpp
diff options
context:
space:
mode:
authormjagdis <mjagdis@eris-associates.co.uk>2024-07-02 23:51:03 +0200
committerGitHub <noreply@github.com>2024-07-02 23:51:03 +0200
commit5f4d2f004bc41bc44d0df7376e48cbb5567db1be (patch)
tree04af00aa1fd57448464739899ca86d36a62799bc /src/WorldStorage/WSSAnvil.cpp
parentPreserve banner names across place and pick up (#5565) (diff)
downloadcuberite-5f4d2f004bc41bc44d0df7376e48cbb5567db1be.tar
cuberite-5f4d2f004bc41bc44d0df7376e48cbb5567db1be.tar.gz
cuberite-5f4d2f004bc41bc44d0df7376e48cbb5567db1be.tar.bz2
cuberite-5f4d2f004bc41bc44d0df7376e48cbb5567db1be.tar.lz
cuberite-5f4d2f004bc41bc44d0df7376e48cbb5567db1be.tar.xz
cuberite-5f4d2f004bc41bc44d0df7376e48cbb5567db1be.tar.zst
cuberite-5f4d2f004bc41bc44d0df7376e48cbb5567db1be.zip
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/WSSAnvil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index 5a5a94d4e..6b425c4dc 100644
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -3648,7 +3648,7 @@ bool cWSSAnvil::LoadEntityBaseFromNBT(cEntity & a_Entity, const cParsedNBT & a_N
Rotation[1] = 0;
}
a_Entity.SetYaw(Rotation[0]);
- a_Entity.SetRoll(Rotation[1]);
+ a_Entity.SetPitch(Rotation[1]);
// Depending on the Minecraft version, the entity's health is
// stored either as a float Health tag (HealF prior to 1.9) or