diff --git a/patches/server/0004-Leaf-Bootstrap.patch b/patches/server/0004-Leaf-Bootstrap.patch new file mode 100644 index 00000000..c1a9bcaa --- /dev/null +++ b/patches/server/0004-Leaf-Bootstrap.patch @@ -0,0 +1,43 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> +Date: Wed, 31 Jul 2024 22:05:21 +0800 +Subject: [PATCH] Leaf Bootstrap + +org.bukkit.craftbukkit.Main#main -> LeafBootstrap -> PaperBootstrap -> ... + +diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java +index 618f4b2e1d012b647b3e7bf359c8ecdd7f159e63..e45a2a0c9e461486d3a70f75630ffbc7443ce04e 100644 +--- a/src/main/java/org/bukkit/craftbukkit/Main.java ++++ b/src/main/java/org/bukkit/craftbukkit/Main.java +@@ -284,7 +284,8 @@ public class Main { + + //System.out.println("Loading libraries, please wait..."); + //net.minecraft.server.Main.main(options); +- io.papermc.paper.PaperBootstrap.boot(options); ++ //io.papermc.paper.PaperBootstrap.boot(options); // Leaf - LeafBoostrap - diff on change ++ org.dreeam.leaf.LeafBootstrap.boot(options); // Leaf - LeafBoostrap + } catch (Throwable t) { + t.printStackTrace(); + } +diff --git a/src/main/java/org/dreeam/leaf/LeafBootstrap.java b/src/main/java/org/dreeam/leaf/LeafBootstrap.java +new file mode 100644 +index 0000000000000000000000000000000000000000..316654051b80ac0fd62cf3b7a0e1b91010ec24b7 +--- /dev/null ++++ b/src/main/java/org/dreeam/leaf/LeafBootstrap.java +@@ -0,0 +1,16 @@ ++package org.dreeam.leaf; ++ ++import io.papermc.paper.PaperBootstrap; ++import joptsimple.OptionSet; ++ ++public class LeafBootstrap { ++ ++ public static void boot(final OptionSet options) { ++ runPreBootTasks(); ++ ++ PaperBootstrap.boot(options); ++ } ++ ++ private static void runPreBootTasks() { ++ } ++} diff --git a/patches/server/0004-Pufferfish-Utils.patch b/patches/server/0005-Pufferfish-Utils.patch similarity index 100% rename from patches/server/0004-Pufferfish-Utils.patch rename to patches/server/0005-Pufferfish-Utils.patch diff --git a/patches/server/0005-Pufferfish-Sentry.patch b/patches/server/0006-Pufferfish-Sentry.patch similarity index 100% rename from patches/server/0005-Pufferfish-Sentry.patch rename to patches/server/0006-Pufferfish-Sentry.patch diff --git a/patches/server/0006-Pufferfish-Optimize-mob-spawning.patch b/patches/server/0007-Pufferfish-Optimize-mob-spawning.patch similarity index 100% rename from patches/server/0006-Pufferfish-Optimize-mob-spawning.patch rename to patches/server/0007-Pufferfish-Optimize-mob-spawning.patch diff --git a/patches/server/0007-Pufferfish-Dynamic-Activation-of-Brain.patch b/patches/server/0008-Pufferfish-Dynamic-Activation-of-Brain.patch similarity index 100% rename from patches/server/0007-Pufferfish-Dynamic-Activation-of-Brain.patch rename to patches/server/0008-Pufferfish-Dynamic-Activation-of-Brain.patch diff --git a/patches/server/0008-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch b/patches/server/0009-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch similarity index 96% rename from patches/server/0008-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch rename to patches/server/0009-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch index d0d59c0d..cdcb6199 100644 --- a/patches/server/0008-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch +++ b/patches/server/0009-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch @@ -7,7 +7,7 @@ Original license: GPL v3 Original project: https://github.com/pufferfish-gg/Pufferfish diff --git a/src/main/java/net/minecraft/world/entity/Mob.java b/src/main/java/net/minecraft/world/entity/Mob.java -index 73a763e1752e455f019324330563e2baeb923ce6..a978b017a86da7f9bba80e88982c1c06acf03086 100644 +index 96e7e9ef8bf9ab6902638ac4ba270a1f98a36cdf..6d88b2888d2028cb88e34dce3d7963dd818b58d7 100644 --- a/src/main/java/net/minecraft/world/entity/Mob.java +++ b/src/main/java/net/minecraft/world/entity/Mob.java @@ -233,11 +233,13 @@ public abstract class Mob extends LivingEntity implements EquipmentUser, Leashab diff --git a/patches/server/0009-Pufferfish-Entity-TTL.patch b/patches/server/0010-Pufferfish-Entity-TTL.patch similarity index 97% rename from patches/server/0009-Pufferfish-Entity-TTL.patch rename to patches/server/0010-Pufferfish-Entity-TTL.patch index a879ed21..ab54e2a2 100644 --- a/patches/server/0009-Pufferfish-Entity-TTL.patch +++ b/patches/server/0010-Pufferfish-Entity-TTL.patch @@ -7,7 +7,7 @@ Original license: GPL v3 Original project: https://github.com/pufferfish-gg/Pufferfish diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index 611cf8f85d479798858477dc5f657a567e32e04d..b22fe825a8556a9ec6cb645b67a4335a6cb7f54e 100644 +index be9815bdf5652a7856fd72d3fca3e2562b2fb8c6..815db5b0a24f1628d646893ebad466dcee2ab0bd 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java @@ -849,6 +849,12 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess diff --git a/patches/server/0010-Purpur-Server-Changes.patch b/patches/server/0011-Purpur-Server-Changes.patch similarity index 99% rename from patches/server/0010-Purpur-Server-Changes.patch rename to patches/server/0011-Purpur-Server-Changes.patch index 5b500229..0fab9f4f 100644 --- a/patches/server/0010-Purpur-Server-Changes.patch +++ b/patches/server/0011-Purpur-Server-Changes.patch @@ -8,7 +8,7 @@ TODO - Dreeam: Check Fix-pufferfish-issues.patch Original license: MIT Original project: https://github.com/PurpurMC/Purpur -Commit: 0bd557933cb015dfb3f0ac91974019631101f1d6 +Commit: 72ccfbd343bd2af2df3456d43aa737d6cfe849db Patches below are removed in this patch: Brand changes in Rebrand.patch @@ -17040,7 +17040,7 @@ index 1f354c6c09bc49e57a69db7cfa4f2a331dd02bdb..b251b057ec6e0bb90d140be8f4d24a6c public Collection getStructures(int x, int z) { return this.getStructures(x, z, struct -> true); diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java -index 618f4b2e1d012b647b3e7bf359c8ecdd7f159e63..260f79affee997adbe8d08f2a2cb3aa68083f497 100644 +index e45a2a0c9e461486d3a70f75630ffbc7443ce04e..9f6027268903c81da4cd1e94cf4ac9fa238440e0 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -176,6 +176,14 @@ public class Main { diff --git a/patches/server/0011-Fix-Pufferfish-and-Purpur-patches.patch b/patches/server/0012-Fix-Pufferfish-and-Purpur-patches.patch similarity index 100% rename from patches/server/0011-Fix-Pufferfish-and-Purpur-patches.patch rename to patches/server/0012-Fix-Pufferfish-and-Purpur-patches.patch diff --git a/patches/server/0012-Purpur-Configurable-server-mod-name.patch b/patches/server/0013-Purpur-Configurable-server-mod-name.patch similarity index 100% rename from patches/server/0012-Purpur-Configurable-server-mod-name.patch rename to patches/server/0013-Purpur-Configurable-server-mod-name.patch diff --git a/patches/server/0013-Configurable-server-GUI-name.patch b/patches/server/0014-Configurable-server-GUI-name.patch similarity index 100% rename from patches/server/0013-Configurable-server-GUI-name.patch rename to patches/server/0014-Configurable-server-GUI-name.patch diff --git a/patches/server/0014-Remove-Timings.patch b/patches/server/0015-Remove-Timings.patch similarity index 100% rename from patches/server/0014-Remove-Timings.patch rename to patches/server/0015-Remove-Timings.patch diff --git a/patches/server/0015-Bump-Dependencies.patch b/patches/server/0016-Bump-Dependencies.patch similarity index 100% rename from patches/server/0015-Bump-Dependencies.patch rename to patches/server/0016-Bump-Dependencies.patch diff --git a/patches/server/0016-Remove-vanilla-username-check.patch b/patches/server/0017-Remove-vanilla-username-check.patch similarity index 100% rename from patches/server/0016-Remove-vanilla-username-check.patch rename to patches/server/0017-Remove-vanilla-username-check.patch diff --git a/patches/server/0017-Remove-Spigot-Check-for-Broken-BungeeCord-Configurat.patch b/patches/server/0018-Remove-Spigot-Check-for-Broken-BungeeCord-Configurat.patch similarity index 100% rename from patches/server/0017-Remove-Spigot-Check-for-Broken-BungeeCord-Configurat.patch rename to patches/server/0018-Remove-Spigot-Check-for-Broken-BungeeCord-Configurat.patch diff --git a/patches/server/0018-Remove-UseItemOnPacket-Too-Far-Check.patch b/patches/server/0019-Remove-UseItemOnPacket-Too-Far-Check.patch similarity index 97% rename from patches/server/0018-Remove-UseItemOnPacket-Too-Far-Check.patch rename to patches/server/0019-Remove-UseItemOnPacket-Too-Far-Check.patch index 4f705327..fc69b59c 100644 --- a/patches/server/0018-Remove-UseItemOnPacket-Too-Far-Check.patch +++ b/patches/server/0019-Remove-UseItemOnPacket-Too-Far-Check.patch @@ -7,7 +7,7 @@ This Check is added in 1.17.x -> 1.18.x that updated by Mojang. By removing this check, it gives ability for hackers to use some modules of hack clients. diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index 7fca156cf43281b64d4f2d521aa73e81ffa7f75b..aba0cf1504f0439514183af9b46c59008d47a0e8 100644 +index 785a2dcfad72126bff078bfd63649da6eb053ad6..0af9de55adff7ccda286b3cbf7ac400b71661f72 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -1948,7 +1948,11 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl diff --git a/patches/server/0019-KTP-Allow-unknown-event-thread-execution.patch b/patches/server/0020-KTP-Allow-unknown-event-thread-execution.patch similarity index 100% rename from patches/server/0019-KTP-Allow-unknown-event-thread-execution.patch rename to patches/server/0020-KTP-Allow-unknown-event-thread-execution.patch diff --git a/patches/server/0020-KeYi-Player-Skull-API.patch b/patches/server/0021-KeYi-Player-Skull-API.patch similarity index 100% rename from patches/server/0020-KeYi-Player-Skull-API.patch rename to patches/server/0021-KeYi-Player-Skull-API.patch diff --git a/patches/server/0021-KeYi-Disable-arrow-despawn-counter-by-default.patch b/patches/server/0022-KeYi-Disable-arrow-despawn-counter-by-default.patch similarity index 94% rename from patches/server/0021-KeYi-Disable-arrow-despawn-counter-by-default.patch rename to patches/server/0022-KeYi-Disable-arrow-despawn-counter-by-default.patch index a323d0a5..6d950f9c 100644 --- a/patches/server/0021-KeYi-Disable-arrow-despawn-counter-by-default.patch +++ b/patches/server/0022-KeYi-Disable-arrow-despawn-counter-by-default.patch @@ -7,7 +7,7 @@ Original license: MIT Original project: https://github.com/KeYiMC/KeYi diff --git a/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java -index 76718d966a326ba82a92217a9f0fdf5b17f9d643..46254b2f500ad9bec248cd057c87bc729c592ee0 100644 +index 15b351e23ca2daac2a903d58774f2a9bf3b4b070..9df60b85bb47d25f375132b775163befb36987f7 100644 --- a/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java +++ b/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java @@ -136,7 +136,7 @@ public class GaleWorldConfiguration extends ConfigurationPart { diff --git a/patches/server/0022-KeYi-Add-an-option-for-spigot-item-merging-mechanism.patch b/patches/server/0023-KeYi-Add-an-option-for-spigot-item-merging-mechanism.patch similarity index 100% rename from patches/server/0022-KeYi-Add-an-option-for-spigot-item-merging-mechanism.patch rename to patches/server/0023-KeYi-Add-an-option-for-spigot-item-merging-mechanism.patch diff --git a/patches/server/0023-Carpet-Fixes-Optimized-getBiome-method.patch b/patches/server/0024-Carpet-Fixes-Optimized-getBiome-method.patch similarity index 100% rename from patches/server/0023-Carpet-Fixes-Optimized-getBiome-method.patch rename to patches/server/0024-Carpet-Fixes-Optimized-getBiome-method.patch diff --git a/patches/server/0024-Carpet-Fixes-Use-optimized-RecipeManager.patch b/patches/server/0025-Carpet-Fixes-Use-optimized-RecipeManager.patch similarity index 100% rename from patches/server/0024-Carpet-Fixes-Use-optimized-RecipeManager.patch rename to patches/server/0025-Carpet-Fixes-Use-optimized-RecipeManager.patch diff --git a/patches/server/0025-Rail-Optimization-optimized-PoweredRailBlock-logic.patch b/patches/server/0026-Rail-Optimization-optimized-PoweredRailBlock-logic.patch similarity index 100% rename from patches/server/0025-Rail-Optimization-optimized-PoweredRailBlock-logic.patch rename to patches/server/0026-Rail-Optimization-optimized-PoweredRailBlock-logic.patch diff --git a/patches/server/0026-Akarin-Save-Json-list-asynchronously.patch b/patches/server/0027-Akarin-Save-Json-list-asynchronously.patch similarity index 100% rename from patches/server/0026-Akarin-Save-Json-list-asynchronously.patch rename to patches/server/0027-Akarin-Save-Json-list-asynchronously.patch diff --git a/patches/server/0027-Slice-Smooth-Teleports.patch b/patches/server/0028-Slice-Smooth-Teleports.patch similarity index 97% rename from patches/server/0027-Slice-Smooth-Teleports.patch rename to patches/server/0028-Slice-Smooth-Teleports.patch index 51656d21..9b3aa7e2 100644 --- a/patches/server/0027-Slice-Smooth-Teleports.patch +++ b/patches/server/0028-Slice-Smooth-Teleports.patch @@ -36,7 +36,7 @@ index adb9956f3350f1e58cbe5d26602412c0043e0d62..b309541c4a29015ad51e05bb341462bc entityplayer1.connection.send(new ClientboundChangeDifficultyPacket(worlddata.getDifficulty(), worlddata.isDifficultyLocked())); entityplayer1.connection.send(new ClientboundSetExperiencePacket(entityplayer1.experienceProgress, entityplayer1.totalExperience, entityplayer1.experienceLevel)); diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java -index 6b285e068cc789fd49a8c0f22ebd98378b6dd86b..39cb0c26e1d7e246a5867ea0915dc87c43777cfe 100644 +index 1f70d832b0287f446722745a65062813e84be566..a5f00869d4636867ce54ddbe18ccabfecaad4d9a 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -1361,6 +1361,15 @@ public class CraftPlayer extends CraftHumanEntity implements Player { diff --git a/patches/server/0028-Parchment-Make-FixLight-use-action-bar.patch b/patches/server/0029-Parchment-Make-FixLight-use-action-bar.patch similarity index 100% rename from patches/server/0028-Parchment-Make-FixLight-use-action-bar.patch rename to patches/server/0029-Parchment-Make-FixLight-use-action-bar.patch diff --git a/patches/server/0029-Leaves-Server-Utils.patch b/patches/server/0030-Leaves-Server-Utils.patch similarity index 100% rename from patches/server/0029-Leaves-Server-Utils.patch rename to patches/server/0030-Leaves-Server-Utils.patch diff --git a/patches/server/0030-Leaves-Protocol-Core.patch b/patches/server/0031-Leaves-Protocol-Core.patch similarity index 100% rename from patches/server/0030-Leaves-Protocol-Core.patch rename to patches/server/0031-Leaves-Protocol-Core.patch diff --git a/patches/server/0031-Leaves-Jade-Protocol.patch b/patches/server/0032-Leaves-Jade-Protocol.patch similarity index 100% rename from patches/server/0031-Leaves-Jade-Protocol.patch rename to patches/server/0032-Leaves-Jade-Protocol.patch diff --git a/patches/server/0032-Leaves-Appleskin-Protocol.patch b/patches/server/0033-Leaves-Appleskin-Protocol.patch similarity index 100% rename from patches/server/0032-Leaves-Appleskin-Protocol.patch rename to patches/server/0033-Leaves-Appleskin-Protocol.patch diff --git a/patches/server/0033-Leaves-Xaero-Map-Protocol.patch b/patches/server/0034-Leaves-Xaero-Map-Protocol.patch similarity index 100% rename from patches/server/0033-Leaves-Xaero-Map-Protocol.patch rename to patches/server/0034-Leaves-Xaero-Map-Protocol.patch diff --git a/patches/server/0034-Leaves-Syncmatica-Protocol.patch b/patches/server/0035-Leaves-Syncmatica-Protocol.patch similarity index 99% rename from patches/server/0034-Leaves-Syncmatica-Protocol.patch rename to patches/server/0035-Leaves-Syncmatica-Protocol.patch index c7c6e161..2c7a9625 100644 --- a/patches/server/0034-Leaves-Syncmatica-Protocol.patch +++ b/patches/server/0035-Leaves-Syncmatica-Protocol.patch @@ -9,7 +9,7 @@ Original project: https://github.com/LeavesMC/Leaves This patch is Powered by Syncmatica (https://github.com/End-Tech/syncmatica) diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index aba0cf1504f0439514183af9b46c59008d47a0e8..f0105e01f94352dee85f91ca2ae951311f4c052f 100644 +index 0af9de55adff7ccda286b3cbf7ac400b71661f72..87c96fa812aab05caa75c3c9d5eb3243e2ef9f55 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -319,6 +319,7 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl diff --git a/patches/server/0035-Chat-Image-protocol.patch b/patches/server/0036-Chat-Image-protocol.patch similarity index 100% rename from patches/server/0035-Chat-Image-protocol.patch rename to patches/server/0036-Chat-Image-protocol.patch diff --git a/patches/server/0036-Asteor-Bar-protocol.patch b/patches/server/0037-Asteor-Bar-protocol.patch similarity index 100% rename from patches/server/0036-Asteor-Bar-protocol.patch rename to patches/server/0037-Asteor-Bar-protocol.patch diff --git a/patches/server/0037-Leaves-Disable-moved-wrongly-threshold.patch b/patches/server/0038-Leaves-Disable-moved-wrongly-threshold.patch similarity index 98% rename from patches/server/0037-Leaves-Disable-moved-wrongly-threshold.patch rename to patches/server/0038-Leaves-Disable-moved-wrongly-threshold.patch index 41a9242c..687d7286 100644 --- a/patches/server/0037-Leaves-Disable-moved-wrongly-threshold.patch +++ b/patches/server/0038-Leaves-Disable-moved-wrongly-threshold.patch @@ -7,7 +7,7 @@ Original license: GPLv3 Original project: https://github.com/LeavesMC/Leaves diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index f0105e01f94352dee85f91ca2ae951311f4c052f..c9cf3499de2809c9983881c88029b39264030f94 100644 +index 87c96fa812aab05caa75c3c9d5eb3243e2ef9f55..798f6bfc0603ad0b76feb1bad53ea4154168f570 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -593,7 +593,7 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl diff --git a/patches/server/0038-Faster-Random-for-xaeroMapServerID-generation.patch b/patches/server/0039-Faster-Random-for-xaeroMapServerID-generation.patch similarity index 100% rename from patches/server/0038-Faster-Random-for-xaeroMapServerID-generation.patch rename to patches/server/0039-Faster-Random-for-xaeroMapServerID-generation.patch diff --git a/patches/server/0039-Petal-Async-Pathfinding.patch b/patches/server/0040-Petal-Async-Pathfinding.patch similarity index 100% rename from patches/server/0039-Petal-Async-Pathfinding.patch rename to patches/server/0040-Petal-Async-Pathfinding.patch diff --git a/patches/server/0040-Petal-reduce-work-done-by-game-event-system.patch b/patches/server/0041-Petal-reduce-work-done-by-game-event-system.patch similarity index 100% rename from patches/server/0040-Petal-reduce-work-done-by-game-event-system.patch rename to patches/server/0041-Petal-reduce-work-done-by-game-event-system.patch diff --git a/patches/server/0041-Optimize-Minecart-collisions.patch b/patches/server/0042-Optimize-Minecart-collisions.patch similarity index 100% rename from patches/server/0041-Optimize-Minecart-collisions.patch rename to patches/server/0042-Optimize-Minecart-collisions.patch diff --git a/patches/server/0042-Reduce-canSee-work.patch b/patches/server/0043-Reduce-canSee-work.patch similarity index 96% rename from patches/server/0042-Reduce-canSee-work.patch rename to patches/server/0043-Reduce-canSee-work.patch index 64b289b2..a98b8e16 100644 --- a/patches/server/0042-Reduce-canSee-work.patch +++ b/patches/server/0043-Reduce-canSee-work.patch @@ -36,7 +36,7 @@ index 24ed26286c7e3e45279b6b27cd0a432b37fda4b2..83fcdd4d090bfc8801a640b2a5645313 if (net.minecraft.world.phys.shapes.Shapes.joinIsNotEmpty(voxelshape, net.minecraft.world.phys.shapes.Shapes.create(entity.getBoundingBox()), net.minecraft.world.phys.shapes.BooleanOp.AND)) { return false; diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java -index 39cb0c26e1d7e246a5867ea0915dc87c43777cfe..8b100977de2aa5e1d7d68442e85584e351f4c03c 100644 +index a5f00869d4636867ce54ddbe18ccabfecaad4d9a..89b2b89fdb93f2b734169524175d3dc42bd7dea3 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -638,6 +638,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player { diff --git a/patches/server/0043-Faster-Natural-Spawning.patch b/patches/server/0044-Faster-Natural-Spawning.patch similarity index 100% rename from patches/server/0043-Faster-Natural-Spawning.patch rename to patches/server/0044-Faster-Natural-Spawning.patch diff --git a/patches/server/0044-Fix-sprint-glitch.patch b/patches/server/0045-Fix-sprint-glitch.patch similarity index 100% rename from patches/server/0044-Fix-sprint-glitch.patch rename to patches/server/0045-Fix-sprint-glitch.patch diff --git a/patches/server/0045-Configurable-movement-speed-of-more-entities.patch b/patches/server/0046-Configurable-movement-speed-of-more-entities.patch similarity index 100% rename from patches/server/0045-Configurable-movement-speed-of-more-entities.patch rename to patches/server/0046-Configurable-movement-speed-of-more-entities.patch diff --git a/patches/server/0046-Faster-sequencing-of-futures-for-chunk-structure-gen.patch b/patches/server/0047-Faster-sequencing-of-futures-for-chunk-structure-gen.patch similarity index 100% rename from patches/server/0046-Faster-sequencing-of-futures-for-chunk-structure-gen.patch rename to patches/server/0047-Faster-sequencing-of-futures-for-chunk-structure-gen.patch diff --git a/patches/server/0047-Reduce-items-finding-hopper-nearby-check.patch b/patches/server/0048-Reduce-items-finding-hopper-nearby-check.patch similarity index 96% rename from patches/server/0047-Reduce-items-finding-hopper-nearby-check.patch rename to patches/server/0048-Reduce-items-finding-hopper-nearby-check.patch index ad988e6f..5acf6d44 100644 --- a/patches/server/0047-Reduce-items-finding-hopper-nearby-check.patch +++ b/patches/server/0048-Reduce-items-finding-hopper-nearby-check.patch @@ -24,7 +24,7 @@ index 7db0a4b53f27622ad2fd85a451613fc83ea87052..3a27ef6da3d189f4f2211c9929dc1334 } } diff --git a/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java -index 46254b2f500ad9bec248cd057c87bc729c592ee0..6e5e9526255f5ee38921cb33a3aad15654f0e756 100644 +index 9df60b85bb47d25f375132b775163befb36987f7..af052b2d746ccb28ffff386c63fd839b2fb4df62 100644 --- a/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java +++ b/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java @@ -75,10 +75,11 @@ public class GaleWorldConfiguration extends ConfigurationPart { diff --git a/patches/server/0048-Linear-region-file-format.patch b/patches/server/0049-Linear-region-file-format.patch similarity index 100% rename from patches/server/0048-Linear-region-file-format.patch rename to patches/server/0049-Linear-region-file-format.patch diff --git a/patches/server/0049-Plazma-Add-some-missing-Pufferfish-configurations.patch b/patches/server/0050-Plazma-Add-some-missing-Pufferfish-configurations.patch similarity index 100% rename from patches/server/0049-Plazma-Add-some-missing-Pufferfish-configurations.patch rename to patches/server/0050-Plazma-Add-some-missing-Pufferfish-configurations.patch diff --git a/patches/server/0050-Plazma-Add-missing-purpur-configuration-options.patch b/patches/server/0051-Plazma-Add-missing-purpur-configuration-options.patch similarity index 100% rename from patches/server/0050-Plazma-Add-missing-purpur-configuration-options.patch rename to patches/server/0051-Plazma-Add-missing-purpur-configuration-options.patch diff --git a/patches/server/0051-Skip-event-if-no-listeners.patch b/patches/server/0052-Skip-event-if-no-listeners.patch similarity index 100% rename from patches/server/0051-Skip-event-if-no-listeners.patch rename to patches/server/0052-Skip-event-if-no-listeners.patch diff --git a/patches/server/0052-PaperPR-Rewrite-framed-map-tracker-ticking.patch b/patches/server/0053-PaperPR-Rewrite-framed-map-tracker-ticking.patch similarity index 100% rename from patches/server/0052-PaperPR-Rewrite-framed-map-tracker-ticking.patch rename to patches/server/0053-PaperPR-Rewrite-framed-map-tracker-ticking.patch diff --git a/patches/server/0053-SparklyPaper-Skip-distanceToSqr-call-in-ServerEntity.patch b/patches/server/0054-SparklyPaper-Skip-distanceToSqr-call-in-ServerEntity.patch similarity index 100% rename from patches/server/0053-SparklyPaper-Skip-distanceToSqr-call-in-ServerEntity.patch rename to patches/server/0054-SparklyPaper-Skip-distanceToSqr-call-in-ServerEntity.patch diff --git a/patches/server/0054-SparklyPaper-Skip-MapItem-update-if-the-map-does-not.patch b/patches/server/0055-SparklyPaper-Skip-MapItem-update-if-the-map-does-not.patch similarity index 100% rename from patches/server/0054-SparklyPaper-Skip-MapItem-update-if-the-map-does-not.patch rename to patches/server/0055-SparklyPaper-Skip-MapItem-update-if-the-map-does-not.patch diff --git a/patches/server/0055-SparklyPaper-Skip-EntityScheduler-s-executeTick-chec.patch b/patches/server/0056-SparklyPaper-Skip-EntityScheduler-s-executeTick-chec.patch similarity index 100% rename from patches/server/0055-SparklyPaper-Skip-EntityScheduler-s-executeTick-chec.patch rename to patches/server/0056-SparklyPaper-Skip-EntityScheduler-s-executeTick-chec.patch diff --git a/patches/server/0056-SparklyPaper-Optimize-canSee-checks.patch b/patches/server/0057-SparklyPaper-Optimize-canSee-checks.patch similarity index 97% rename from patches/server/0056-SparklyPaper-Optimize-canSee-checks.patch rename to patches/server/0057-SparklyPaper-Optimize-canSee-checks.patch index ff553b7f..4ac3daa3 100644 --- a/patches/server/0056-SparklyPaper-Optimize-canSee-checks.patch +++ b/patches/server/0057-SparklyPaper-Optimize-canSee-checks.patch @@ -29,7 +29,7 @@ index 41ab27bdeb3cbc54f71977feda61a3034eed3e9e..200a08d09904c6d5ea85b9e2c0228e61 } // CraftBukkit end diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java -index 4d01b79df543f0e37c756ca31d46c6b38c73d6e2..4231ebf983def7f551ee9bb77cbf4780a3a01ace 100644 +index 89b2b89fdb93f2b734169524175d3dc42bd7dea3..22a7e4392a598cf6fd3aa2900ecfa9e2f6117ec5 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -200,7 +200,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player { diff --git a/patches/server/0057-Polpot-Make-egg-and-snowball-can-knockback-player.patch b/patches/server/0058-Polpot-Make-egg-and-snowball-can-knockback-player.patch similarity index 100% rename from patches/server/0057-Polpot-Make-egg-and-snowball-can-knockback-player.patch rename to patches/server/0058-Polpot-Make-egg-and-snowball-can-knockback-player.patch diff --git a/patches/server/0058-Redirect-vanilla-getProfiler-in-PathNavigationRegion.patch b/patches/server/0059-Redirect-vanilla-getProfiler-in-PathNavigationRegion.patch similarity index 100% rename from patches/server/0058-Redirect-vanilla-getProfiler-in-PathNavigationRegion.patch rename to patches/server/0059-Redirect-vanilla-getProfiler-in-PathNavigationRegion.patch diff --git a/patches/server/0059-Fix-MC-65198.patch b/patches/server/0060-Fix-MC-65198.patch similarity index 100% rename from patches/server/0059-Fix-MC-65198.patch rename to patches/server/0060-Fix-MC-65198.patch diff --git a/patches/server/0060-Including-5s-in-getTPS.patch b/patches/server/0061-Including-5s-in-getTPS.patch similarity index 100% rename from patches/server/0060-Including-5s-in-getTPS.patch rename to patches/server/0061-Including-5s-in-getTPS.patch diff --git a/patches/server/0061-Remove-useless-creating-stats-json-bases-on-player-n.patch b/patches/server/0062-Remove-useless-creating-stats-json-bases-on-player-n.patch similarity index 100% rename from patches/server/0061-Remove-useless-creating-stats-json-bases-on-player-n.patch rename to patches/server/0062-Remove-useless-creating-stats-json-bases-on-player-n.patch diff --git a/patches/server/0062-Fix-NPE-during-creating-GUI-graph.patch b/patches/server/0063-Fix-NPE-during-creating-GUI-graph.patch similarity index 100% rename from patches/server/0062-Fix-NPE-during-creating-GUI-graph.patch rename to patches/server/0063-Fix-NPE-during-creating-GUI-graph.patch diff --git a/patches/server/0063-Don-t-throw-exception-on-missing-ResourceKey-value.patch b/patches/server/0064-Don-t-throw-exception-on-missing-ResourceKey-value.patch similarity index 100% rename from patches/server/0063-Don-t-throw-exception-on-missing-ResourceKey-value.patch rename to patches/server/0064-Don-t-throw-exception-on-missing-ResourceKey-value.patch diff --git a/patches/server/0064-Improve-Purpur-AFK-system.patch b/patches/server/0065-Improve-Purpur-AFK-system.patch similarity index 100% rename from patches/server/0064-Improve-Purpur-AFK-system.patch rename to patches/server/0065-Improve-Purpur-AFK-system.patch diff --git a/patches/server/0065-Virtual-Thread-for-async-scheduler.patch b/patches/server/0066-Virtual-Thread-for-async-scheduler.patch similarity index 100% rename from patches/server/0065-Virtual-Thread-for-async-scheduler.patch rename to patches/server/0066-Virtual-Thread-for-async-scheduler.patch diff --git a/patches/server/0066-Mirai-Configurable-chat-message-signatures.patch b/patches/server/0067-Mirai-Configurable-chat-message-signatures.patch similarity index 100% rename from patches/server/0066-Mirai-Configurable-chat-message-signatures.patch rename to patches/server/0067-Mirai-Configurable-chat-message-signatures.patch diff --git a/patches/server/0067-Block-log4j-rce-exploit-in-chat.patch b/patches/server/0068-Block-log4j-rce-exploit-in-chat.patch similarity index 93% rename from patches/server/0067-Block-log4j-rce-exploit-in-chat.patch rename to patches/server/0068-Block-log4j-rce-exploit-in-chat.patch index 5b3ff9da..6fb5c8d7 100644 --- a/patches/server/0067-Block-log4j-rce-exploit-in-chat.patch +++ b/patches/server/0068-Block-log4j-rce-exploit-in-chat.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Block log4j rce exploit in chat diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index d700c5d6faae6d5229e311a9918fd0c2d231c448..abf2605cd11f36584976b576366c92c71b3e00e2 100644 +index 212074a4e26fd124705bbd4ac7bb4e25f3cbf2f9..fe9fc8f1f738531ead36bf8ccd1181a4df8afe9e 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -2390,6 +2390,8 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl @@ -34,7 +34,7 @@ index d700c5d6faae6d5229e311a9918fd0c2d231c448..abf2605cd11f36584976b576366c92c7 for (int i = 0; i < message.length(); ++i) { if (!StringUtil.isAllowedChatCharacter(message.charAt(i))) { diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java -index 675b86360802a19eea84a72aec48392a95fbdb25..7c66e3fea981cc6d3a1407c4cb0900a1a697e567 100644 +index 22a7e4392a598cf6fd3aa2900ecfa9e2f6117ec5..bfd522a70ed440363e3aa41b2855c1fbe0cbaf45 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -753,6 +753,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player { diff --git a/patches/server/0068-Cache-player-profileResult.patch b/patches/server/0069-Cache-player-profileResult.patch similarity index 98% rename from patches/server/0068-Cache-player-profileResult.patch rename to patches/server/0069-Cache-player-profileResult.patch index d340c201..6ed60be0 100644 --- a/patches/server/0068-Cache-player-profileResult.patch +++ b/patches/server/0069-Cache-player-profileResult.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Cache player profileResult diff --git a/build.gradle.kts b/build.gradle.kts -index eae49bdd56b3f4ffdc59789be8f150d47c42eb54..93367a64ead53f51e00158ba84fbe5e79d04c132 100644 +index 57b524c602751e6b8be9052b15a7cee6e1447e7e..6e1c71f4073dc4b43787a3f6599453d9db7bf8bb 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -26,6 +26,10 @@ dependencies { diff --git a/patches/server/0069-Prevent-change-non-editable-sign-warning-spam-in-con.patch b/patches/server/0070-Prevent-change-non-editable-sign-warning-spam-in-con.patch similarity index 100% rename from patches/server/0069-Prevent-change-non-editable-sign-warning-spam-in-con.patch rename to patches/server/0070-Prevent-change-non-editable-sign-warning-spam-in-con.patch diff --git a/patches/server/0070-Matter-Secure-Seed.patch b/patches/server/0071-Matter-Secure-Seed.patch similarity index 100% rename from patches/server/0070-Matter-Secure-Seed.patch rename to patches/server/0071-Matter-Secure-Seed.patch diff --git a/patches/server/0072-Ignore-terminal-provider-warning.patch b/patches/server/0072-Ignore-terminal-provider-warning.patch deleted file mode 100644 index 4827b92a..00000000 --- a/patches/server/0072-Ignore-terminal-provider-warning.patch +++ /dev/null @@ -1,19 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> -Date: Thu, 2 May 2024 20:21:29 -0400 -Subject: [PATCH] Ignore terminal provider warning - - -diff --git a/src/main/java/io/papermc/paper/PaperBootstrap.java b/src/main/java/io/papermc/paper/PaperBootstrap.java -index d543b1b107ab8d3eeb1fc3c1cadf489928d2786e..2a554d152403d30b167c0bece8c9e1a2c8ff0bdf 100644 ---- a/src/main/java/io/papermc/paper/PaperBootstrap.java -+++ b/src/main/java/io/papermc/paper/PaperBootstrap.java -@@ -18,6 +18,8 @@ public final class PaperBootstrap { - - getStartupVersionMessages().forEach(LOGGER::info); - -+ System.setProperty("org.jline.terminal.disableDeprecatedProviderWarning", "true"); // Leaf - Ignore terminal provider warning -+ - Main.main(options); - } - diff --git a/patches/server/0071-Matter-Seed-Command.patch b/patches/server/0072-Matter-Seed-Command.patch similarity index 100% rename from patches/server/0071-Matter-Seed-Command.patch rename to patches/server/0072-Matter-Seed-Command.patch diff --git a/patches/server/0073-Ignore-terminal-provider-warning.patch b/patches/server/0073-Ignore-terminal-provider-warning.patch new file mode 100644 index 00000000..c0d74bf2 --- /dev/null +++ b/patches/server/0073-Ignore-terminal-provider-warning.patch @@ -0,0 +1,17 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> +Date: Thu, 2 May 2024 20:21:29 -0400 +Subject: [PATCH] Ignore terminal provider warning + + +diff --git a/src/main/java/org/dreeam/leaf/LeafBootstrap.java b/src/main/java/org/dreeam/leaf/LeafBootstrap.java +index 316654051b80ac0fd62cf3b7a0e1b91010ec24b7..9a9bd633c6ed1b2231d36ef7a285a1f1463ccee4 100644 +--- a/src/main/java/org/dreeam/leaf/LeafBootstrap.java ++++ b/src/main/java/org/dreeam/leaf/LeafBootstrap.java +@@ -12,5 +12,6 @@ public class LeafBootstrap { + } + + private static void runPreBootTasks() { ++ System.setProperty("org.jline.terminal.disableDeprecatedProviderWarning", "true"); // Leaf - Ignore terminal provider warning + } + } diff --git a/patches/server/0073-Fix-console-freeze-above-JAVA-22.patch b/patches/server/0074-Fix-console-freeze-above-JAVA-22.patch similarity index 59% rename from patches/server/0073-Fix-console-freeze-above-JAVA-22.patch rename to patches/server/0074-Fix-console-freeze-above-JAVA-22.patch index 79088bca..338c1a64 100644 --- a/patches/server/0073-Fix-console-freeze-above-JAVA-22.patch +++ b/patches/server/0074-Fix-console-freeze-above-JAVA-22.patch @@ -6,15 +6,14 @@ Subject: [PATCH] Fix console freeze above JAVA 22 Revert to old console provider, Fix https://github.com/PaperMC/Paper/issues/10405 Solution refers to https://inside.java/2023/07/31/quality-heads-up -diff --git a/src/main/java/io/papermc/paper/PaperBootstrap.java b/src/main/java/io/papermc/paper/PaperBootstrap.java -index 2a554d152403d30b167c0bece8c9e1a2c8ff0bdf..fb19a2f9e219656aa89f6d82edc64bc0d68c1ff1 100644 ---- a/src/main/java/io/papermc/paper/PaperBootstrap.java -+++ b/src/main/java/io/papermc/paper/PaperBootstrap.java -@@ -19,6 +19,7 @@ public final class PaperBootstrap { - getStartupVersionMessages().forEach(LOGGER::info); +diff --git a/src/main/java/org/dreeam/leaf/LeafBootstrap.java b/src/main/java/org/dreeam/leaf/LeafBootstrap.java +index 9a9bd633c6ed1b2231d36ef7a285a1f1463ccee4..780affb51ebddcd05729c8e3272e28630bed8077 100644 +--- a/src/main/java/org/dreeam/leaf/LeafBootstrap.java ++++ b/src/main/java/org/dreeam/leaf/LeafBootstrap.java +@@ -13,5 +13,6 @@ public class LeafBootstrap { + private static void runPreBootTasks() { System.setProperty("org.jline.terminal.disableDeprecatedProviderWarning", "true"); // Leaf - Ignore terminal provider warning + if (org.galemc.gale.virtualthread.VirtualThreadService.getJavaMajorVersion() >= 22) System.setProperty("jdk.console", "java.base"); // Leaf - Fix console freeze above JAVA 22 - - Main.main(options); } + } diff --git a/patches/server/0074-Fix-console-output-display-on-Pterodactyl-panel.patch b/patches/server/0075-Fix-console-output-display-on-Pterodactyl-panel.patch similarity index 73% rename from patches/server/0074-Fix-console-output-display-on-Pterodactyl-panel.patch rename to patches/server/0075-Fix-console-output-display-on-Pterodactyl-panel.patch index 001f57cf..bde3f295 100644 --- a/patches/server/0074-Fix-console-output-display-on-Pterodactyl-panel.patch +++ b/patches/server/0075-Fix-console-output-display-on-Pterodactyl-panel.patch @@ -5,12 +5,12 @@ Subject: [PATCH] Fix console output display on Pterodactyl panel Fixed console display issue when the terminal used xterm, should work on Pterodactyl, MCSManager and kind of panel software -diff --git a/src/main/java/io/papermc/paper/PaperBootstrap.java b/src/main/java/io/papermc/paper/PaperBootstrap.java -index fb19a2f9e219656aa89f6d82edc64bc0d68c1ff1..b4b3264ea7b3f6eb2d693af28a492620026287a8 100644 ---- a/src/main/java/io/papermc/paper/PaperBootstrap.java -+++ b/src/main/java/io/papermc/paper/PaperBootstrap.java -@@ -20,6 +20,13 @@ public final class PaperBootstrap { - +diff --git a/src/main/java/org/dreeam/leaf/LeafBootstrap.java b/src/main/java/org/dreeam/leaf/LeafBootstrap.java +index 780affb51ebddcd05729c8e3272e28630bed8077..2f5122a61af183d6a4c20a175122c228b6e9fc48 100644 +--- a/src/main/java/org/dreeam/leaf/LeafBootstrap.java ++++ b/src/main/java/org/dreeam/leaf/LeafBootstrap.java +@@ -14,5 +14,12 @@ public class LeafBootstrap { + private static void runPreBootTasks() { System.setProperty("org.jline.terminal.disableDeprecatedProviderWarning", "true"); // Leaf - Ignore terminal provider warning if (org.galemc.gale.virtualthread.VirtualThreadService.getJavaMajorVersion() >= 22) System.setProperty("jdk.console", "java.base"); // Leaf - Fix console freeze above JAVA 22 + // Leaf start - Fix console output display on Pterodactyl panel @@ -20,6 +20,5 @@ index fb19a2f9e219656aa89f6d82edc64bc0d68c1ff1..b4b3264ea7b3f6eb2d693af28a492620 + System.setProperty("terminal.ansi", "true"); + } + // Leaf end - Fix console output display on Pterodactyl panel - - Main.main(options); } + } diff --git a/patches/server/0075-Faster-Random-Generator.patch b/patches/server/0076-Faster-Random-Generator.patch similarity index 100% rename from patches/server/0075-Faster-Random-Generator.patch rename to patches/server/0076-Faster-Random-Generator.patch diff --git a/patches/server/0076-Don-t-save-primed-tnt-entity.patch b/patches/server/0077-Don-t-save-primed-tnt-entity.patch similarity index 100% rename from patches/server/0076-Don-t-save-primed-tnt-entity.patch rename to patches/server/0077-Don-t-save-primed-tnt-entity.patch diff --git a/patches/server/0077-Don-t-save-falling-block-entity.patch b/patches/server/0078-Don-t-save-falling-block-entity.patch similarity index 100% rename from patches/server/0077-Don-t-save-falling-block-entity.patch rename to patches/server/0078-Don-t-save-falling-block-entity.patch diff --git a/patches/server/0078-Configurable-connection-message.patch b/patches/server/0079-Configurable-connection-message.patch similarity index 100% rename from patches/server/0078-Configurable-connection-message.patch rename to patches/server/0079-Configurable-connection-message.patch diff --git a/patches/server/0079-Remove-stream-in-BlockBehaviour-cache-blockstate.patch b/patches/server/0080-Remove-stream-in-BlockBehaviour-cache-blockstate.patch similarity index 100% rename from patches/server/0079-Remove-stream-in-BlockBehaviour-cache-blockstate.patch rename to patches/server/0080-Remove-stream-in-BlockBehaviour-cache-blockstate.patch diff --git a/patches/server/0080-Reduce-worldgen-allocations.patch b/patches/server/0081-Reduce-worldgen-allocations.patch similarity index 100% rename from patches/server/0080-Reduce-worldgen-allocations.patch rename to patches/server/0081-Reduce-worldgen-allocations.patch diff --git a/patches/server/0081-Fix-MC-183518.patch b/patches/server/0082-Fix-MC-183518.patch similarity index 100% rename from patches/server/0081-Fix-MC-183518.patch rename to patches/server/0082-Fix-MC-183518.patch diff --git a/patches/server/0082-Use-caffeine-cache-kickPermission-instead-of-using-g.patch b/patches/server/0083-Use-caffeine-cache-kickPermission-instead-of-using-g.patch similarity index 96% rename from patches/server/0082-Use-caffeine-cache-kickPermission-instead-of-using-g.patch rename to patches/server/0083-Use-caffeine-cache-kickPermission-instead-of-using-g.patch index 117847af..6370d914 100644 --- a/patches/server/0082-Use-caffeine-cache-kickPermission-instead-of-using-g.patch +++ b/patches/server/0083-Use-caffeine-cache-kickPermission-instead-of-using-g.patch @@ -6,7 +6,7 @@ Subject: [PATCH] Use caffeine cache kickPermission instead of using diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index abf2605cd11f36584976b576366c92c71b3e00e2..c41987b5995e27c9b1f8bb2e8af341315c6f338c 100644 +index fe9fc8f1f738531ead36bf8ccd1181a4df8afe9e..855fa46cbaaa22003f46e0e63292ad0824d23c86 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -339,17 +339,12 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl diff --git a/patches/server/0083-Do-not-place-player-if-the-server-is-full.patch b/patches/server/0084-Do-not-place-player-if-the-server-is-full.patch similarity index 100% rename from patches/server/0083-Do-not-place-player-if-the-server-is-full.patch rename to patches/server/0084-Do-not-place-player-if-the-server-is-full.patch diff --git a/patches/server/0084-Fix-MC-200418.patch b/patches/server/0085-Fix-MC-200418.patch similarity index 100% rename from patches/server/0084-Fix-MC-200418.patch rename to patches/server/0085-Fix-MC-200418.patch diff --git a/patches/server/0085-Fix-MC-119417.patch b/patches/server/0086-Fix-MC-119417.patch similarity index 100% rename from patches/server/0085-Fix-MC-119417.patch rename to patches/server/0086-Fix-MC-119417.patch diff --git a/patches/server/0086-Fix-MC-223153.patch b/patches/server/0087-Fix-MC-223153.patch similarity index 100% rename from patches/server/0086-Fix-MC-223153.patch rename to patches/server/0087-Fix-MC-223153.patch diff --git a/patches/server/0087-Optimize-LeavesProtocolManager-init-protocol.patch b/patches/server/0088-Optimize-LeavesProtocolManager-init-protocol.patch similarity index 100% rename from patches/server/0087-Optimize-LeavesProtocolManager-init-protocol.patch rename to patches/server/0088-Optimize-LeavesProtocolManager-init-protocol.patch diff --git a/patches/server/0088-Optimize-check-nearby-fire-or-lava-on-entity-move.patch b/patches/server/0089-Optimize-check-nearby-fire-or-lava-on-entity-move.patch similarity index 98% rename from patches/server/0088-Optimize-check-nearby-fire-or-lava-on-entity-move.patch rename to patches/server/0089-Optimize-check-nearby-fire-or-lava-on-entity-move.patch index 764e33f9..7b26a75f 100644 --- a/patches/server/0088-Optimize-check-nearby-fire-or-lava-on-entity-move.patch +++ b/patches/server/0089-Optimize-check-nearby-fire-or-lava-on-entity-move.patch @@ -7,7 +7,7 @@ Remove stream and remove double Mth.floor() convert before 1700ms, after 370ms, in massive stacked minecart test diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index a8064df7eeec655aca406739a16c4133e0755bd8..8d9fc30f090efc7509f4e2b74b0d6c30627effbd 100644 +index 0a40cff1da82157487d209e63628387092d0d334..bdf7fbe1e7e18996e387df3b186a6f4db7352769 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java @@ -1337,9 +1337,12 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess diff --git a/patches/server/0089-Airplane-Remove-streams-in-PoiCompetitorScan.patch b/patches/server/0090-Airplane-Remove-streams-in-PoiCompetitorScan.patch similarity index 100% rename from patches/server/0089-Airplane-Remove-streams-in-PoiCompetitorScan.patch rename to patches/server/0090-Airplane-Remove-streams-in-PoiCompetitorScan.patch diff --git a/patches/server/0090-Cache-CraftEntityType-minecraftToBukkit-convert.patch b/patches/server/0091-Cache-CraftEntityType-minecraftToBukkit-convert.patch similarity index 99% rename from patches/server/0090-Cache-CraftEntityType-minecraftToBukkit-convert.patch rename to patches/server/0091-Cache-CraftEntityType-minecraftToBukkit-convert.patch index 7ecb7de5..7c8d2ce4 100644 --- a/patches/server/0090-Cache-CraftEntityType-minecraftToBukkit-convert.patch +++ b/patches/server/0091-Cache-CraftEntityType-minecraftToBukkit-convert.patch @@ -108,7 +108,7 @@ index 1e7a27bc783e68f9579d4d3c72ec165bde7175b9..72dfd388bb784009ac77ff0c93db56eb @Override diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java -index 56bd3e3e7f36ee048526f3d0c7bf87d158a93fe6..5673f7bcdc75d2a8fc5fc143f18075103842c3d4 100644 +index 233df12bfa5c49137ad50f421bf723100844758f..9019a98a082b9d72e5581ca3f50f45aadcc320e7 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java @@ -83,7 +83,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {