Updated Upstream (Bukkit/CraftBukkit) (#8240)

Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
caa7c486 SPIGOT-7109: Add WorldBorder#setSize using TimeUnit

CraftBukkit Changes:
1e3bf58cd SPIGOT-7109: Add WorldBorder#setSize using TimeUnit
This commit is contained in:
Jake Potrebic 2022-08-05 07:10:44 -07:00 committed by GitHub
parent a311dcecb3
commit 02831e3369
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -5,13 +5,13 @@ Subject: [PATCH] Expose WorldBorder#isInBounds(Location) check
diff --git a/src/main/java/org/bukkit/WorldBorder.java b/src/main/java/org/bukkit/WorldBorder.java
index 95bb16185514e0b894f407028997ce7d4504f8fb..238b9e2309d633623d35a1dbded6edadf20831f3 100644
index b1c08a7fc5856bcc29ee64d0a87b95a8ac940ddc..0f2f17f0a443ec5087b3373293b23f663be9dbe1 100644
--- a/src/main/java/org/bukkit/WorldBorder.java
+++ b/src/main/java/org/bukkit/WorldBorder.java
@@ -127,4 +127,18 @@ public interface WorldBorder {
* @return if this location is inside the border or not
@@ -162,4 +162,18 @@ public interface WorldBorder {
* @return The absolute maximum center coordinate of the WorldBorder
*/
public boolean isInside(@NotNull Location location);
public double getMaxCenterCoordinate();
+
+ // Paper start
+ /**

@ -1 +1 @@
Subproject commit 0260da7a4a687f86db2b69068f9b447cdfa28263
Subproject commit caa7c4866ac49b04808b75284715543f221649a5

@ -1 +1 @@
Subproject commit 8f3647242a7eadf8e2a7faf623089767c0466b52
Subproject commit 1e3bf58cdb2b099308d94dbc34d950155ee83ac3