Fix entities refusing to die and portal search not working
This commit is contained in:
@@ -19,7 +19,7 @@ index be91b11242..320fd07c62 100644
|
||||
+ }
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/PortalTravelAgent.java b/src/main/java/net/minecraft/server/PortalTravelAgent.java
|
||||
index 1685e694ba..e7ca777c16 100644
|
||||
index 13f80ac832..02e5487efb 100644
|
||||
--- a/src/main/java/net/minecraft/server/PortalTravelAgent.java
|
||||
+++ b/src/main/java/net/minecraft/server/PortalTravelAgent.java
|
||||
@@ -0,0 +0,0 @@ public class PortalTravelAgent {
|
||||
@@ -28,7 +28,7 @@ index 1685e694ba..e7ca777c16 100644
|
||||
|
||||
- for (int i = -128; i <= 128; ++i) {
|
||||
+ int portalSearchRadius = world.paperConfig.portalSearchRadius; // Paper
|
||||
+ for (int i = portalSearchRadius; i <= portalSearchRadius; ++i) { // Paper
|
||||
+ for (int i = -portalSearchRadius; i <= portalSearchRadius; ++i) { // Paper
|
||||
BlockPosition blockposition2;
|
||||
|
||||
- for (int j = -128; j <= 128; ++j) {
|
||||
|
||||
Reference in New Issue
Block a user