2023-08-21 06:49:53 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Gameoholic <viner.atmic@gmail.com>
|
|
|
|
Date: Sun, 30 Jul 2023 13:30:34 +0300
|
|
|
|
Subject: [PATCH] Fix rotation when spawning display entities
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java b/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
|
2023-12-06 20:40:37 +01:00
|
|
|
index de015e675b40fa391bb7d03d30c86dc3dd72cb13..b7fd9448ea9f26636724b229af5cffc28d927d62 100644
|
2023-08-21 06:49:53 +02:00
|
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
|
|
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
|
2023-12-06 17:34:54 +01:00
|
|
|
@@ -1021,6 +1021,7 @@ public abstract class CraftRegionAccessor implements RegionAccessor {
|
2023-08-21 06:49:53 +02:00
|
|
|
|
|
|
|
if (entity != null) {
|
|
|
|
entity.setPos(x, y, z);
|
|
|
|
+ entity.setRot(yaw, pitch); // Paper - Set Display Rotation
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|