geforkt von Mirrors/Paper
b8edb0e130
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 6b34da8f SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender CraftBukkit Changes: db4ba2897 SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender 4f7ff4dec PR-1246: Add missing AbstractTestingBase to tests which need them f70a7b68d SPIGOT-7465, MC-264979: Fresh installations print NoSuchFileException for server.properties 8ef7afef6 PR-1240: Call BlockGrowEvent for vines that are growing on additional sides of an existing vine block Spigot Changes: d2eba2c8 Rebuild patches
19 Zeilen
856 B
Diff
19 Zeilen
856 B
Diff
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 602b09323e0f1fda64ced1c285bfe2dbd854bb54..afac16a5f40ca4bce57c267183d9b61298233cbc 100644
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
|
|
@@ -986,6 +986,7 @@ public abstract class CraftRegionAccessor implements RegionAccessor {
|
|
|
|
if (entity != null) {
|
|
entity.setPos(x, y, z);
|
|
+ entity.setRot(yaw, pitch); // Paper - Set Display Rotation
|
|
}
|
|
}
|
|
|