Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-29 17:40:09 +01:00
21 Zeilen
704 B
Diff
21 Zeilen
704 B
Diff
|
--- a/net/minecraft/server/RayTrace.java
|
||
|
+++ b/net/minecraft/server/RayTrace.java
|
||
|
@@ -15,7 +15,7 @@
|
||
|
this.b = vec3d1;
|
||
|
this.c = raytrace_blockcollisionoption;
|
||
|
this.d = raytrace_fluidcollisionoption;
|
||
|
- this.e = VoxelShapeCollision.a(entity);
|
||
|
+ this.e = (entity == null) ? VoxelShapeCollision.a() : VoxelShapeCollision.a(entity); // CraftBukkit
|
||
|
}
|
||
|
|
||
|
public Vec3D a() {
|
||
|
@@ -44,7 +44,7 @@
|
||
|
|
||
|
private final Predicate<Fluid> predicate;
|
||
|
|
||
|
- private FluidCollisionOption(Predicate predicate) {
|
||
|
+ private FluidCollisionOption(Predicate<Fluid> predicate) { // CraftBukkit - decompile error
|
||
|
this.predicate = predicate;
|
||
|
}
|
||
|
|