Skip to content

Commit 385f313

Browse files
authored
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#8092)
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: d41796d SPIGOT-7071: Add Player#stopSound(SoundCategory category) 61dae5b SPIGOT-7011, SPIGOT-7065: Overhaul of structures CraftBukkit Changes: 991aeda SPIGOT-1729, SPIGOT-7090: Keep precision in teleportation between worlds 5c9a5f6 SPIGOT-7071: Add Player#stopSound(SoundCategory category) 68f888d SPIGOT-7011, SPIGOT-7065: Overhaul of structures 0231a37 Remove outdated build delay. Spigot Changes: 475f6008 Rebuild patches 8ce1761f Rebuild patches
1 parent 1e5d1db commit 385f313

File tree

271 files changed

+640
-748
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+640
-748
lines changed

patches/api/0005-Adventure.patch

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Co-authored-by: zml <zml@stellardrift.ca>
77
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
88

99
diff --git a/build.gradle.kts b/build.gradle.kts
10-
index f0423df165bf7d0f3fad21d26b64f31ba3e6aeee..7b8196db1fd1e283dc9ef71e3fe5137cc5920ba9 100644
10+
index cedf145d5024e1ed9ae0d815e7ad0afb87c9a8b0..237a0beff61f2384b9e9e18a9d7119fd1916e1bd 100644
1111
--- a/build.gradle.kts
1212
+++ b/build.gradle.kts
1313
@@ -8,17 +8,37 @@ java {
@@ -475,7 +475,7 @@ index 0000000000000000000000000000000000000000..bff9a6295db367c6b89d69fb55459a40
475475
+ }
476476
+}
477477
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
478-
index 9db999c8c9645fa0161bc3a85fbfdd09283989fd..b23b6bf1af91c9460fdb231000df6191ec673544 100644
478+
index 5029d98816c137fcc7068bd5596d6a38d96ee877..ba57a093a2df3c65036377e3093eedabeda7c6f5 100644
479479
--- a/src/main/java/org/bukkit/Bukkit.java
480480
+++ b/src/main/java/org/bukkit/Bukkit.java
481481
@@ -357,7 +357,9 @@ public final class Bukkit {
@@ -810,7 +810,7 @@ index 803fa0019869127ee8c7e4fb1777a59c43e66f8a..c65f0d6569c130b4920a9e71ad24af64
810810
+ // Paper end
811811
}
812812
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
813-
index 485848dfa12bda15adda0d8f3a83f779a9ec05fe..01f4329d23a5e33f321df394107eaf1b918f8859 100644
813+
index 6d6810cc51732830ef139f7099fbc5a45b124e8e..5af7da1d3d62cada69240e2d22db2a32278b0074 100644
814814
--- a/src/main/java/org/bukkit/Server.java
815815
+++ b/src/main/java/org/bukkit/Server.java
816816
@@ -58,13 +58,13 @@ import org.jetbrains.annotations.Nullable;
@@ -1025,7 +1025,7 @@ index 485848dfa12bda15adda0d8f3a83f779a9ec05fe..01f4329d23a5e33f321df394107eaf1b
10251025
String getShutdownMessage();
10261026

10271027
/**
1028-
@@ -1635,7 +1744,9 @@ public interface Server extends PluginMessageRecipient {
1028+
@@ -1650,7 +1759,9 @@ public interface Server extends PluginMessageRecipient {
10291029
* Sends the component to the player
10301030
*
10311031
* @param component the components to send
@@ -1035,7 +1035,7 @@ index 485848dfa12bda15adda0d8f3a83f779a9ec05fe..01f4329d23a5e33f321df394107eaf1b
10351035
public void broadcast(@NotNull net.md_5.bungee.api.chat.BaseComponent component) {
10361036
throw new UnsupportedOperationException("Not supported yet.");
10371037
}
1038-
@@ -1644,7 +1755,9 @@ public interface Server extends PluginMessageRecipient {
1038+
@@ -1659,7 +1770,9 @@ public interface Server extends PluginMessageRecipient {
10391039
* Sends an array of components as a single message to the player
10401040
*
10411041
* @param components the components to send
@@ -1139,10 +1139,10 @@ index efb97712cc9dc7c1e12a59f5b94e4f2ad7c6b7d8..3024468af4c073324e536c1cb26beffb
11391139
return warning == null || warning.value();
11401140
}
11411141
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
1142-
index 9fa83c728cf686ef0b9913a86873a3d58492c16b..cc491837d149da716f197577f51a25ec31c03344 100644
1142+
index 7e0c6c57976a00f989fe4e5dce83cd986b460e72..1d3bb553c944f5920e81e295f8cd5b7194d37aac 100644
11431143
--- a/src/main/java/org/bukkit/World.java
11441144
+++ b/src/main/java/org/bukkit/World.java
1145-
@@ -40,7 +40,7 @@ import org.jetbrains.annotations.Nullable;
1145+
@@ -43,7 +43,7 @@ import org.jetbrains.annotations.Nullable;
11461146
/**
11471147
* Represents a world, which may contain entities, chunks and blocks
11481148
*/
@@ -1151,7 +1151,7 @@ index 9fa83c728cf686ef0b9913a86873a3d58492c16b..cc491837d149da716f197577f51a25ec
11511151

11521152
/**
11531153
* Gets the {@link Block} at the given coordinates
1154-
@@ -635,6 +635,14 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
1154+
@@ -638,6 +638,14 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
11551155
@NotNull
11561156
public List<Player> getPlayers();
11571157

@@ -1644,7 +1644,7 @@ index 922d33ff4fa9d901d3c5c0a9f8399ad8aef62c37..cd287978c34873c7122794e4f3e76291
16441644
+ // Paper end
16451645
}
16461646
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
1647-
index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33bde29296 100644
1647+
index 6cac14eabdbdf7fd8c322d5fb4dfbfbb266ae940..c580ec19cd2b55a4aeca49d9cd984ce7c2848cef 100644
16481648
--- a/src/main/java/org/bukkit/entity/Player.java
16491649
+++ b/src/main/java/org/bukkit/entity/Player.java
16501650
@@ -37,7 +37,28 @@ import org.jetbrains.annotations.Nullable;
@@ -1822,7 +1822,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
18221822
/**
18231823
* Says a message (or runs a command).
18241824
*
1825-
@@ -500,6 +586,90 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1825+
@@ -507,6 +593,90 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
18261826
*/
18271827
public void sendEquipmentChange(@NotNull LivingEntity entity, @NotNull EquipmentSlot slot, @NotNull ItemStack item);
18281828

@@ -1913,7 +1913,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
19131913
/**
19141914
* Send a sign change. This fakes a sign change packet for a user at
19151915
* a certain location. This will not actually change the world in any way.
1916-
@@ -514,7 +684,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1916+
@@ -521,7 +691,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
19171917
* @param lines the new text on the sign or null to clear it
19181918
* @throws IllegalArgumentException if location is null
19191919
* @throws IllegalArgumentException if lines is non-null and has a length less than 4
@@ -1923,7 +1923,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
19231923
public void sendSignChange(@NotNull Location loc, @Nullable String[] lines) throws IllegalArgumentException;
19241924

19251925
/**
1926-
@@ -533,7 +705,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1926+
@@ -540,7 +712,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
19271927
* @throws IllegalArgumentException if location is null
19281928
* @throws IllegalArgumentException if dyeColor is null
19291929
* @throws IllegalArgumentException if lines is non-null and has a length less than 4
@@ -1933,7 +1933,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
19331933
public void sendSignChange(@NotNull Location loc, @Nullable String[] lines, @NotNull DyeColor dyeColor) throws IllegalArgumentException;
19341934

19351935
/**
1936-
@@ -553,7 +727,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1936+
@@ -560,7 +734,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
19371937
* @throws IllegalArgumentException if location is null
19381938
* @throws IllegalArgumentException if dyeColor is null
19391939
* @throws IllegalArgumentException if lines is non-null and has a length less than 4
@@ -1943,15 +1943,15 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
19431943
public void sendSignChange(@NotNull Location loc, @Nullable String[] lines, @NotNull DyeColor dyeColor, boolean hasGlowingText) throws IllegalArgumentException;
19441944

19451945
/**
1946-
@@ -1028,6 +1204,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1946+
@@ -1035,6 +1211,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
19471947
* pack correctly.
19481948
* </ul>
19491949
*
19501950
+ * @deprecated in favour of {@link #setResourcePack(String, byte[], Component)}
19511951
* @param url The URL from which the client will download the resource
19521952
* pack. The string must contain only US-ASCII characters and should
19531953
* be encoded as per RFC 1738.
1954-
@@ -1041,8 +1218,57 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1954+
@@ -1048,8 +1225,57 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
19551955
* @throws IllegalArgumentException Thrown if the hash is not 20 bytes
19561956
* long.
19571957
*/
@@ -2009,15 +2009,15 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
20092009
/**
20102010
* Request that the player's client download and switch resource packs.
20112011
* <p>
2012-
@@ -1117,6 +1343,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2012+
@@ -1124,6 +1350,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
20132013
* pack correctly.
20142014
* </ul>
20152015
*
20162016
+ * @deprecated in favour of {@link #setResourcePack(String, byte[], Component, boolean)}
20172017
* @param url The URL from which the client will download the resource
20182018
* pack. The string must contain only US-ASCII characters and should
20192019
* be encoded as per RFC 1738.
2020-
@@ -1132,8 +1359,57 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2020+
@@ -1139,8 +1366,57 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
20212021
* @throws IllegalArgumentException Thrown if the hash is not 20 bytes
20222022
* long.
20232023
*/
@@ -2075,7 +2075,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
20752075
/**
20762076
* Gets the Scoreboard displayed to this player
20772077
*
2078-
@@ -1249,7 +1525,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2078+
@@ -1256,7 +1532,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
20792079
*
20802080
* @param title Title text
20812081
* @param subtitle Subtitle text
@@ -2084,7 +2084,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
20842084
*/
20852085
@Deprecated
20862086
public void sendTitle(@Nullable String title, @Nullable String subtitle);
2087-
@@ -1268,7 +1544,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2087+
@@ -1275,7 +1551,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
20882088
* @param fadeIn time in ticks for titles to fade in. Defaults to 10.
20892089
* @param stay time in ticks for titles to stay. Defaults to 70.
20902090
* @param fadeOut time in ticks for titles to fade out. Defaults to 20.
@@ -2094,7 +2094,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
20942094
public void sendTitle(@Nullable String title, @Nullable String subtitle, int fadeIn, int stay, int fadeOut);
20952095

20962096
/**
2097-
@@ -1495,6 +1773,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2097+
@@ -1502,6 +1780,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
20982098
*/
20992099
public int getClientViewDistance();
21002100

@@ -2109,7 +2109,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
21092109
/**
21102110
* Gets the player's estimated ping in milliseconds.
21112111
*
2112-
@@ -1520,8 +1806,10 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2112+
@@ -1527,8 +1813,10 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
21132113
* they wish.
21142114
*
21152115
* @return the player's locale
@@ -2120,7 +2120,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
21202120
public String getLocale();
21212121

21222122
/**
2123-
@@ -1563,6 +1851,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2123+
@@ -1570,6 +1858,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
21242124
*/
21252125
public boolean isAllowingServerListings();
21262126

@@ -2135,7 +2135,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
21352135
// Spigot start
21362136
public class Spigot extends Entity.Spigot {
21372137

2138-
@@ -1617,11 +1913,13 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2138+
@@ -1624,11 +1920,13 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
21392139
throw new UnsupportedOperationException("Not supported yet.");
21402140
}
21412141

@@ -2149,7 +2149,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
21492149
@Override
21502150
public void sendMessage(@NotNull net.md_5.bungee.api.chat.BaseComponent... components) {
21512151
throw new UnsupportedOperationException("Not supported yet.");
2152-
@@ -1632,7 +1930,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2152+
@@ -1639,7 +1937,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
21532153
*
21542154
* @param position the screen position
21552155
* @param component the components to send
@@ -2159,7 +2159,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
21592159
public void sendMessage(@NotNull net.md_5.bungee.api.ChatMessageType position, @NotNull net.md_5.bungee.api.chat.BaseComponent component) {
21602160
throw new UnsupportedOperationException("Not supported yet.");
21612161
}
2162-
@@ -1642,7 +1942,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2162+
@@ -1649,7 +1949,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
21632163
*
21642164
* @param position the screen position
21652165
* @param components the components to send
@@ -2169,7 +2169,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
21692169
public void sendMessage(@NotNull net.md_5.bungee.api.ChatMessageType position, @NotNull net.md_5.bungee.api.chat.BaseComponent... components) {
21702170
throw new UnsupportedOperationException("Not supported yet.");
21712171
}
2172-
@@ -1653,7 +1955,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2172+
@@ -1660,7 +1962,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
21732173
* @param position the screen position
21742174
* @param sender the sender of the message
21752175
* @param component the components to send
@@ -2179,7 +2179,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
21792179
public void sendMessage(@NotNull net.md_5.bungee.api.ChatMessageType position, @Nullable UUID sender, @NotNull net.md_5.bungee.api.chat.BaseComponent component) {
21802180
throw new UnsupportedOperationException("Not supported yet.");
21812181
}
2182-
@@ -1664,7 +1968,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2182+
@@ -1671,7 +1975,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
21832183
* @param position the screen position
21842184
* @param sender the sender of the message
21852185
* @param components the components to send

patches/api/0007-Timings-v2.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2791,7 +2791,7 @@ index 0000000000000000000000000000000000000000..5989ee21297935651b0edd44b8239e65
27912791
+ }
27922792
+}
27932793
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
2794-
index b23b6bf1af91c9460fdb231000df6191ec673544..95693bab8051ff3e94c3a184c8a2691eb3b49ec5 100644
2794+
index ba57a093a2df3c65036377e3093eedabeda7c6f5..9b118067de5eb54b266b8349fce7efdec2cb36eb 100644
27952795
--- a/src/main/java/org/bukkit/Bukkit.java
27962796
+++ b/src/main/java/org/bukkit/Bukkit.java
27972797
@@ -801,7 +801,6 @@ public final class Bukkit {
@@ -2803,10 +2803,10 @@ index b23b6bf1af91c9460fdb231000df6191ec673544..95693bab8051ff3e94c3a184c8a2691e
28032803

28042804
/**
28052805
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
2806-
index 01f4329d23a5e33f321df394107eaf1b918f8859..1e717c3096f3cccf1ce4b0e849c43525011c84de 100644
2806+
index 5af7da1d3d62cada69240e2d22db2a32278b0074..0a433146ebec4416339c4ab33f3523a22d23d332 100644
28072807
--- a/src/main/java/org/bukkit/Server.java
28082808
+++ b/src/main/java/org/bukkit/Server.java
2809-
@@ -1740,6 +1740,26 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
2809+
@@ -1755,6 +1755,26 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
28102810
throw new UnsupportedOperationException("Not supported yet.");
28112811
}
28122812

@@ -3391,10 +3391,10 @@ index 516d7fc7812aac343782861d0d567f54aa578c2a..00000000000000000000000000000000
33913391
- // Spigot end
33923392
-}
33933393
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
3394-
index fcab7ff11d06ae712d56d1eead5dca33bde29296..ca678d83218cd3179ebf4a0d0675e643b75e3471 100644
3394+
index c580ec19cd2b55a4aeca49d9cd984ce7c2848cef..ab127d622b51e423883cbd9a7218f1cff6c2fdc1 100644
33953395
--- a/src/main/java/org/bukkit/entity/Player.java
33963396
+++ b/src/main/java/org/bukkit/entity/Player.java
3397-
@@ -1973,7 +1973,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
3397+
@@ -1980,7 +1980,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
33983398
@Deprecated // Paper
33993399
public void sendMessage(@NotNull net.md_5.bungee.api.ChatMessageType position, @Nullable UUID sender, @NotNull net.md_5.bungee.api.chat.BaseComponent... components) {
34003400
throw new UnsupportedOperationException("Not supported yet.");

patches/api/0009-Player-affects-spawning-API.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Subject: [PATCH] Player affects spawning API
55

66

77
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
8-
index ca678d83218cd3179ebf4a0d0675e643b75e3471..ccb812686a428211f4f384b4f3cf9e0fb694ac80 100644
8+
index ab127d622b51e423883cbd9a7218f1cff6c2fdc1..e03ab25cf2add5edbf0d3a28451ac47360fad080 100644
99
--- a/src/main/java/org/bukkit/entity/Player.java
1010
+++ b/src/main/java/org/bukkit/entity/Player.java
11-
@@ -1812,6 +1812,22 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
11+
@@ -1819,6 +1819,22 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1212
@Deprecated // Paper
1313
public String getLocale();
1414

patches/api/0014-Add-view-distance-API.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Add per player no-tick, tick, and send view distances.
88
Also add send/no-tick view distance to World.
99

1010
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
11-
index cc491837d149da716f197577f51a25ec31c03344..8c77eef8e4e6d1ff4ad2fb0712ccfe89ab66acd6 100644
11+
index 1d3bb553c944f5920e81e295f8cd5b7194d37aac..887b85849803cee22a41a701b43cdc9085ba0dc3 100644
1212
--- a/src/main/java/org/bukkit/World.java
1313
+++ b/src/main/java/org/bukkit/World.java
14-
@@ -2597,6 +2597,62 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
14+
@@ -2673,6 +2673,62 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
1515
int getSimulationDistance();
1616
// Spigot end
1717

@@ -75,10 +75,10 @@ index cc491837d149da716f197577f51a25ec31c03344..8c77eef8e4e6d1ff4ad2fb0712ccfe89
7575
public class Spigot {
7676

7777
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
78-
index ccb812686a428211f4f384b4f3cf9e0fb694ac80..522fa0eac6474b31dc682281d69a3227e52e4692 100644
78+
index e03ab25cf2add5edbf0d3a28451ac47360fad080..b362a0e3954a2a58b896a9951f3e31c1706959ec 100644
7979
--- a/src/main/java/org/bukkit/entity/Player.java
8080
+++ b/src/main/java/org/bukkit/entity/Player.java
81-
@@ -1826,6 +1826,78 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
81+
@@ -1833,6 +1833,78 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
8282
* @param affects Whether the player can affect mob spawning
8383
*/
8484
public void setAffectsSpawning(boolean affects);

0 commit comments

Comments
 (0)