9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2026-01-04 15:41:31 +00:00

Update Paper

This commit is contained in:
violetc
2022-04-01 07:39:53 +00:00
parent a5b9379cee
commit fb6fce74de
2 changed files with 4 additions and 4 deletions

View File

@@ -4,4 +4,4 @@ version = 1.18.2-R0.1-SNAPSHOT
mcVersion = 1.18.2
packageVersion = 1_18_R2
org.gradle.jvmargs=-Xmx2G
paperRef=d3c102373f90cffa1be2a19ce671d99d563ff9ca
paperRef=04c7b16bde362abe8faeb32383b346c3e4c51f76

View File

@@ -5,10 +5,10 @@ Subject: [PATCH] Fix gravity block duper
diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java
index 84fce7dccf9232209f939a32acfc3131e62eb27c..cbe48b0add7134100c3da87c07ecee36cef8c69d 100644
index 49cf3601df7b145d49b1fe9a71ba0bc60c5394b3..702937e741c8607958f6e0215d11dc347b12ee3c 100644
--- a/src/main/java/net/minecraft/world/entity/Entity.java
+++ b/src/main/java/net/minecraft/world/entity/Entity.java
@@ -398,36 +398,8 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource, i
@@ -398,36 +398,8 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource {
return chunkMap.playerEntityTrackerTrackMaps[type.ordinal()].getObjectsInRange(MCUtil.getCoordinateKey(this));
}
// Paper end - optimise entity tracking
@@ -46,7 +46,7 @@ index 84fce7dccf9232209f939a32acfc3131e62eb27c..cbe48b0add7134100c3da87c07ecee36
// Paper start
/**
@@ -2801,7 +2773,7 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource, i
@@ -2786,7 +2758,7 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource {
}
this.processPortalCooldown();