9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-23 08:59:31 +00:00

Update Paper

This commit is contained in:
violetc
2023-06-20 14:07:50 +08:00
parent 718ef0b5c9
commit b2a0889cda
25 changed files with 90 additions and 90 deletions

View File

@@ -6,10 +6,10 @@ Subject: [PATCH] Reduce entity allocations
This patch is Powered by Pufferfish(https://github.com/pufferfish-gg/Pufferfish)
diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java
index 72b35cbd1840141c7654357c3c3bf446d4fb01d4..c1920e8d571a71cdd9fa18f26d16aabc43f5a88f 100644
index e7a5e07deb24d6d9ad0b4aa92fc0bef3249d0845..914fa28793005c976a87e643325188f0e89f8b42 100644
--- a/src/main/java/net/minecraft/world/entity/Entity.java
+++ b/src/main/java/net/minecraft/world/entity/Entity.java
@@ -422,6 +422,8 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource {
@@ -434,6 +434,8 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource {
return this.originWorld;
}
// Paper end