diff --git a/gradle.properties b/gradle.properties index bde9adcf1..150b01307 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ group = org.purpurmc.purpur version = 1.19.4-R0.1-SNAPSHOT -paperCommit = 055f7228f05a11f6117b57ebebce4e7aac1f4e7f +paperCommit = e8b82590d0c3dd57ac1728b236117d2fcd531c4f org.gradle.caching = true org.gradle.parallel = true diff --git a/patches/api/0037-Potion-NamespacedKey.patch b/patches/api/0037-Potion-NamespacedKey.patch index 00e7fc1b7..babf7156b 100644 --- a/patches/api/0037-Potion-NamespacedKey.patch +++ b/patches/api/0037-Potion-NamespacedKey.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Potion NamespacedKey diff --git a/src/main/java/org/bukkit/potion/PotionEffect.java b/src/main/java/org/bukkit/potion/PotionEffect.java -index 24e36cdf580da885ac64002673a786b9c5a3f787..d20cc4d4f5b37a3de9cb3cf47af7a908e9dbc2fc 100644 +index ccdca0d75868135dc7b96daeff2236b225c4add1..cad9f4ddc6be23c595e79419872f8f026703cb80 100644 --- a/src/main/java/org/bukkit/potion/PotionEffect.java +++ b/src/main/java/org/bukkit/potion/PotionEffect.java @@ -5,6 +5,7 @@ import com.google.common.collect.ImmutableMap; @@ -16,7 +16,7 @@ index 24e36cdf580da885ac64002673a786b9c5a3f787..d20cc4d4f5b37a3de9cb3cf47af7a908 import org.bukkit.configuration.serialization.ConfigurationSerializable; import org.bukkit.configuration.serialization.SerializableAs; import org.bukkit.entity.LivingEntity; -@@ -26,12 +27,14 @@ public class PotionEffect implements ConfigurationSerializable { +@@ -31,12 +32,14 @@ public class PotionEffect implements ConfigurationSerializable { private static final String AMBIENT = "ambient"; private static final String PARTICLES = "has-particles"; private static final String ICON = "has-icon"; @@ -31,7 +31,7 @@ index 24e36cdf580da885ac64002673a786b9c5a3f787..d20cc4d4f5b37a3de9cb3cf47af7a908 /** * Creates a potion effect. -@@ -44,6 +47,36 @@ public class PotionEffect implements ConfigurationSerializable { +@@ -49,6 +52,36 @@ public class PotionEffect implements ConfigurationSerializable { * @param icon the icon status, see {@link PotionEffect#hasIcon()} */ public PotionEffect(@NotNull PotionEffectType type, int duration, int amplifier, boolean ambient, boolean particles, boolean icon) { @@ -68,7 +68,7 @@ index 24e36cdf580da885ac64002673a786b9c5a3f787..d20cc4d4f5b37a3de9cb3cf47af7a908 Preconditions.checkArgument(type != null, "effect type cannot be null"); this.type = type; this.duration = duration; -@@ -51,6 +84,7 @@ public class PotionEffect implements ConfigurationSerializable { +@@ -56,6 +89,7 @@ public class PotionEffect implements ConfigurationSerializable { this.ambient = ambient; this.particles = particles; this.icon = icon; @@ -76,7 +76,7 @@ index 24e36cdf580da885ac64002673a786b9c5a3f787..d20cc4d4f5b37a3de9cb3cf47af7a908 } /** -@@ -98,36 +132,43 @@ public class PotionEffect implements ConfigurationSerializable { +@@ -103,36 +137,43 @@ public class PotionEffect implements ConfigurationSerializable { * @param map the map to deserialize from */ public PotionEffect(@NotNull Map map) { @@ -127,7 +127,7 @@ index 24e36cdf580da885ac64002673a786b9c5a3f787..d20cc4d4f5b37a3de9cb3cf47af7a908 @NotNull private static PotionEffectType getEffectType(@NotNull Map map) { int type = getInt(map, TYPE); -@@ -154,17 +195,33 @@ public class PotionEffect implements ConfigurationSerializable { +@@ -159,17 +200,33 @@ public class PotionEffect implements ConfigurationSerializable { return def; } @@ -169,7 +169,7 @@ index 24e36cdf580da885ac64002673a786b9c5a3f787..d20cc4d4f5b37a3de9cb3cf47af7a908 } /** -@@ -188,7 +245,7 @@ public class PotionEffect implements ConfigurationSerializable { +@@ -193,7 +250,7 @@ public class PotionEffect implements ConfigurationSerializable { return false; } PotionEffect that = (PotionEffect) obj; @@ -178,7 +178,7 @@ index 24e36cdf580da885ac64002673a786b9c5a3f787..d20cc4d4f5b37a3de9cb3cf47af7a908 } /** -@@ -256,6 +313,24 @@ public class PotionEffect implements ConfigurationSerializable { +@@ -289,6 +346,24 @@ public class PotionEffect implements ConfigurationSerializable { return icon; } @@ -203,7 +203,7 @@ index 24e36cdf580da885ac64002673a786b9c5a3f787..d20cc4d4f5b37a3de9cb3cf47af7a908 @Override public int hashCode() { int hash = 1; -@@ -270,6 +345,6 @@ public class PotionEffect implements ConfigurationSerializable { +@@ -303,6 +378,6 @@ public class PotionEffect implements ConfigurationSerializable { @Override public String toString() { diff --git a/patches/server/0006-Ridables.patch b/patches/server/0006-Ridables.patch index 8034c0d7d..652b00b96 100644 --- a/patches/server/0006-Ridables.patch +++ b/patches/server/0006-Ridables.patch @@ -22,7 +22,7 @@ index b37e0ff164a894d2033fb94bbbc2f630a0e66bcd..ac335ec4f70830c7687ac4e0aa2a6cba super(x, y, z); } diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index ac0693f439f063d19ea68d8b216d4ecf10441b15..9fb7e742b91311bf542f533e2a411e9847be7038 100644 +index 4cd9c56b3aea40996e249db163ffed0625d99b16..a5ed221909bd267711fdfb29c4557220c0998b4b 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -1526,6 +1526,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop