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:
committed by
Shane Freeder
parent
701114058c
commit
dd8b8df0ca
@@ -1,4 +1,4 @@
|
||||
From 7300336b4ea331e4d37eabd94f391e90cdd03804 Mon Sep 17 00:00:00 2001
|
||||
From 3f48cc87934a730f5d6423ce5cab4f167d399c63 Mon Sep 17 00:00:00 2001
|
||||
From: theosib <millerti@172.16.221.1>
|
||||
Date: Thu, 27 Sep 2018 01:43:35 -0600
|
||||
Subject: [PATCH] Optimize redstone algorithm
|
||||
@@ -19,10 +19,10 @@ Aside from making the obvious class/function renames and obfhelpers I didn't nee
|
||||
Just added Bukkit's event system and took a few liberties with dead code and comment misspellings.
|
||||
|
||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
index dd5e263d7..357c7cf1d 100644
|
||||
index 0862a1d62..4ba72275b 100644
|
||||
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
@@ -430,4 +430,14 @@ public class PaperWorldConfig {
|
||||
@@ -432,4 +432,14 @@ public class PaperWorldConfig {
|
||||
private void preventMovingIntoUnloadedChunks() {
|
||||
preventMovingIntoUnloadedChunks = getBoolean("prevent-moving-into-unloaded-chunks", false);
|
||||
}
|
||||
@@ -1147,5 +1147,5 @@ index b6d904007..697c99d94 100644
|
||||
int i = 0;
|
||||
EnumDirection[] aenumdirection = World.a;
|
||||
--
|
||||
2.24.1
|
||||
2.25.0.windows.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user