2021-06-11 12:02:28 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
|
|
|
|
Date: Mon, 5 Apr 2021 16:58:20 -0400
|
|
|
|
Subject: [PATCH] Set area affect cloud rotation
|
|
|
|
|
|
|
|
|
2021-08-25 07:59:26 +00:00
|
|
|
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java b/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
|
2022-06-07 17:03:07 +00:00
|
|
|
index cd359e6576e69184935b0852ffc6b9fb57181730..57b8c02dc8466dfc572719d72c9ff1fdefbbca4c 100644
|
2021-08-25 07:59:26 +00:00
|
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
|
|
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftRegionAccessor.java
|
2022-03-01 05:43:03 +00:00
|
|
|
@@ -894,6 +894,7 @@ public abstract class CraftRegionAccessor implements RegionAccessor {
|
2021-08-25 07:59:26 +00:00
|
|
|
entity.moveTo(location.getX(), location.getY(), location.getZ());
|
2021-06-11 12:02:28 +00:00
|
|
|
} else if (AreaEffectCloud.class.isAssignableFrom(clazz)) {
|
2021-08-25 07:59:26 +00:00
|
|
|
entity = new net.minecraft.world.entity.AreaEffectCloud(world, x, y, z);
|
2021-06-11 12:02:28 +00:00
|
|
|
+ entity.moveTo(x, y, z, yaw, pitch); // Paper - Set area effect cloud Rotation
|
|
|
|
} else if (EvokerFangs.class.isAssignableFrom(clazz)) {
|
2021-08-25 07:59:26 +00:00
|
|
|
entity = new net.minecraft.world.entity.projectile.EvokerFangs(world, x, y, z, (float) Math.toRadians(yaw), 0, null);
|
2021-06-15 02:59:31 +00:00
|
|
|
} else if (Marker.class.isAssignableFrom(clazz)) {
|