aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0618-Set-area-affect-cloud-rotation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0618-Set-area-affect-cloud-rotation.patch')
-rw-r--r--patches/server/0618-Set-area-affect-cloud-rotation.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/server/0618-Set-area-affect-cloud-rotation.patch b/patches/server/0618-Set-area-affect-cloud-rotation.patch
new file mode 100644
index 0000000000..08e992b45c
--- /dev/null
+++ b/patches/server/0618-Set-area-affect-cloud-rotation.patch
@@ -0,0 +1,18 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Owen1212055 <[email protected]>
+Date: Mon, 5 Apr 2021 16:58:20 -0400
+Subject: [PATCH] Set area affect cloud rotation
+
+
+diff --git a/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java b/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
+index bb5d22125b6cd4e60d2b7e2e00af158c9ea22cd9..84d84ceda1855bd1d11b2917c16fdb845a7600fe 100644
+--- a/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
++++ b/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
+@@ -919,6 +919,7 @@ public abstract class CraftRegionAccessor implements RegionAccessor {
+ entity.moveTo(location.getX(), location.getY(), location.getZ());
+ } else if (AreaEffectCloud.class.isAssignableFrom(clazz)) {
+ entity = new net.minecraft.world.entity.AreaEffectCloud(world, x, y, z);
++ entity.moveTo(x, y, z, yaw, pitch); // Paper - Set area effect cloud Rotation
+ } else if (EvokerFangs.class.isAssignableFrom(clazz)) {
+ entity = new net.minecraft.world.entity.projectile.EvokerFangs(world, x, y, z, (float) Math.toRadians(yaw), 0, null);
+ } else if (Marker.class.isAssignableFrom(clazz)) {