mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-19 14:59:32 +00:00
feat: rebuild patches
This commit is contained in:
@@ -5,10 +5,10 @@ Subject: [PATCH] Do not check NaN values in entities
|
||||
|
||||
|
||||
diff --git a/net/minecraft/world/entity/Entity.java b/net/minecraft/world/entity/Entity.java
|
||||
index 4748bd188f8860ed2a8b2e6123e020c1da17af5f..5c17fb5211da426b41c1ebb298563f083bc09099 100644
|
||||
index f500ac59152d9a3b3a6167d3b99e55462c1c32dd..438402571f315f1abf6d54237d88420d762b2b0c 100644
|
||||
--- a/net/minecraft/world/entity/Entity.java
|
||||
+++ b/net/minecraft/world/entity/Entity.java
|
||||
@@ -2512,10 +2512,12 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
|
||||
@@ -2569,10 +2569,12 @@ public abstract class Entity implements SyncedDataHolder, DebugValueSource, Name
|
||||
}
|
||||
} // CraftBukkit
|
||||
|
||||
@@ -22,7 +22,7 @@ index 4748bd188f8860ed2a8b2e6123e020c1da17af5f..5c17fb5211da426b41c1ebb298563f08
|
||||
if (Float.isNaN(this.yRot)) {
|
||||
this.yRot = 0;
|
||||
}
|
||||
@@ -2523,7 +2525,9 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
|
||||
@@ -2580,7 +2582,9 @@ public abstract class Entity implements SyncedDataHolder, DebugValueSource, Name
|
||||
if (Float.isNaN(this.xRot)) {
|
||||
this.xRot = 0;
|
||||
}
|
||||
@@ -32,7 +32,7 @@ index 4748bd188f8860ed2a8b2e6123e020c1da17af5f..5c17fb5211da426b41c1ebb298563f08
|
||||
output.store("Rotation", Vec2.CODEC, new Vec2(this.getYRot(), this.getXRot()));
|
||||
output.putDouble("fall_distance", this.fallDistance);
|
||||
output.putShort("Fire", (short)this.remainingFireTicks);
|
||||
@@ -2646,7 +2650,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
|
||||
@@ -2703,7 +2707,7 @@ public abstract class Entity implements SyncedDataHolder, DebugValueSource, Name
|
||||
public void load(ValueInput input) {
|
||||
try {
|
||||
Vec3 vec3 = input.read("Pos", Vec3.CODEC).orElse(Vec3.ZERO);
|
||||
|
||||
Reference in New Issue
Block a user