geforkt von Mirrors/Paper
Fix rotation for spawning display entities (#9552)
Dieser Commit ist enthalten in:
Ursprung
e121a90eef
Commit
42e6758cb4
18
patches/server/Fix-rotation-when-spawning-display-entities.patch
Normale Datei
18
patches/server/Fix-rotation-when-spawning-display-entities.patch
Normale Datei
@ -0,0 +1,18 @@
|
|||||||
|
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
|
||||||
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
|
||||||
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
|
||||||
|
@@ -0,0 +0,0 @@ public abstract class CraftRegionAccessor implements RegionAccessor {
|
||||||
|
|
||||||
|
if (entity != null) {
|
||||||
|
entity.setPos(x, y, z);
|
||||||
|
+ entity.setRot(yaw, pitch); // Paper - Set Display Rotation
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren