Shove decompile fixes into the proper patch

This commit is contained in:
Spottedleaf
2019-05-05 11:09:29 -07:00
parent 670fbcd29e
commit d42c203adc
7 changed files with 174 additions and 129 deletions

View File

@@ -7,7 +7,7 @@ ray tracing into an unloaded chunk should be treated as a miss
this saves a ton of lag for when AI tries to raytrace near unloaded chunks.
diff --git a/src/main/java/net/minecraft/server/IBlockAccess.java b/src/main/java/net/minecraft/server/IBlockAccess.java
index 8753bea614..039f27312a 100644
index 809ca0983a..c44edda65a 100644
--- a/src/main/java/net/minecraft/server/IBlockAccess.java
+++ b/src/main/java/net/minecraft/server/IBlockAccess.java
@@ -0,0 +0,0 @@ public interface IBlockAccess {
@@ -27,13 +27,4 @@ index 8753bea614..039f27312a 100644
Fluid fluid = this.getFluid(blockposition);
Vec3D vec3d = raytrace1.b();
Vec3D vec3d1 = raytrace1.a();
@@ -0,0 +0,0 @@ public interface IBlockAccess {
double d13 = d10 * (i1 > 0 ? 1.0D - MathHelper.h(d4) : MathHelper.h(d4));
double d14 = d11 * (j1 > 0 ? 1.0D - MathHelper.h(d5) : MathHelper.h(d5));
- Object object;
+ T object; // Paper - decompile fix (TODO move to mcdev)
do {
if (d12 > 1.0D && d13 > 1.0D && d14 > 1.0D) {
--