Ensure portal search radius is used when teleporting players (#2877)

Also add the create search radius mojang recently introduced
to config
This commit is contained in:
Spottedleaf
2020-01-18 09:28:32 -08:00
parent 0fcff54352
commit d6efbad797
54 changed files with 111 additions and 94 deletions

View File

@@ -6,7 +6,7 @@ Subject: [PATCH] Configurable sprint interruption on attack
If the sprint interruption is disabled players continue sprinting when they attack entities.
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
index 2607c4e5fa..1d3120b9bf 100644
index 77cdbfadf..171c8e303 100644
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
@@ -0,0 +0,0 @@ public class PaperWorldConfig {
@@ -20,7 +20,7 @@ index 2607c4e5fa..1d3120b9bf 100644
+ }
}
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java
index 205a842ee6..4e91fdd69e 100644
index 1aa373ed3..9595c3b0a 100644
--- a/src/main/java/net/minecraft/server/EntityHuman.java
+++ b/src/main/java/net/minecraft/server/EntityHuman.java
@@ -0,0 +0,0 @@ public abstract class EntityHuman extends EntityLiving {