mirror of
https://github.com/Samsuik/Sakura.git
synced 2025-12-29 03:39:07 +00:00
Fix slight mistake that made it's way in (it's a compile error)
This commit is contained in:
@@ -445,7 +445,7 @@ index aa65887b72a96d87f0cad98047deffd01d60ec3f..c3c053884101b818274400f0ebcd6690
|
||||
// Paper end
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/world/level/Explosion.java b/src/main/java/net/minecraft/world/level/Explosion.java
|
||||
index 81efe2985e3379b1dac2af797ae5ad6708e8bdcd..a7e9a7bcf659203045bcff3b20fc3e05c9d1d6bc 100644
|
||||
index 81efe2985e3379b1dac2af797ae5ad6708e8bdcd..1e2d598a3ee53a21d6c6da5c90c9051d6d05bd19 100644
|
||||
--- a/src/main/java/net/minecraft/world/level/Explosion.java
|
||||
+++ b/src/main/java/net/minecraft/world/level/Explosion.java
|
||||
@@ -68,6 +68,7 @@ public class Explosion {
|
||||
@@ -475,7 +475,7 @@ index 81efe2985e3379b1dac2af797ae5ad6708e8bdcd..a7e9a7bcf659203045bcff3b20fc3e05
|
||||
+ hitResult = data.density() == 1.0 ? net.minecraft.world.phys.HitResult.Type.MISS : net.minecraft.world.phys.HitResult.Type.BLOCK;
|
||||
+ } else {
|
||||
+ if (entity.physics().before(1_14_0)) {
|
||||
+ hitResult = entity.level().rayTrace(vec3d1, source);
|
||||
+ hitResult = entity.level.rayTrace(vec3d1, source);
|
||||
+ } else {
|
||||
+ hitResult = entity.level.clip(new ClipContext(vec3d1, source, entity.physics().afterOrEqual(1_16_0) ? ClipContext.Block.COLLIDER : ClipContext.Block.OUTLINE, ClipContext.Fluid.NONE, entity)).getType();
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user