This commit is contained in:
Tamion 2024-07-13 21:15:05 +02:00
parent e278bc527c
commit 32d8c1b341
No known key found for this signature in database
GPG key ID: 01E616386DBAE296
2 changed files with 4 additions and 4 deletions

View file

@ -337,10 +337,10 @@ index 0000000000000000000000000000000000000000..ffe49cd1ecc9075315c9695dd1aa4a3f
+ @NotNull List<Targets> targets) implements RayTraceConfiguration {
+}
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
index 97f97ea5c6aa513c439f86a9c82821e0f7d9cd1e..972bee9c2fc9a79c7ab2922b88d567fd03ff831a 100644
index d8a23aa0d898ca3360757721e38ddb97387f7d21..8ef512986d59f04a9d1fb0ab99ff2fb7f6ec0d8a 100644
--- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java
@@ -1908,6 +1908,33 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
@@ -1854,6 +1854,33 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
@Nullable RayTraceResult rayTrace(io.papermc.paper.math.@NotNull Position start, @NotNull Vector direction, double maxDistance, @NotNull FluidCollisionMode fluidCollisionMode, boolean ignorePassableBlocks, double raySize, @Nullable Predicate<? super Entity> filter, @Nullable Predicate<? super Block> canCollide);
// Paper end

View file

@ -5,10 +5,10 @@ Subject: [PATCH] Add RayTraceConfiguration
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
index f2b20ed5063a293f0b464548f590d652170cd1d8..b1290a02d06927209c3a25a10be7a34e944eac86 100644
index 8045d6c9398d1c88595da6e41aa1ed27fb6fbad0..447ce81432a4bf18920536038355f29c6e1f2464 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
@@ -1306,6 +1306,19 @@ public class CraftWorld extends CraftRegionAccessor implements World {
@@ -1245,6 +1245,19 @@ public class CraftWorld extends CraftRegionAccessor implements World {
return blockHit;
}