From fb8bed94409914bb3588df0c17891a3779e13514 Mon Sep 17 00:00:00 2001 From: DerEchtePilz <81232921+DerEchtePilz@users.noreply.github.com> Date: Sat, 2 Sep 2023 12:51:43 +0200 Subject: [PATCH] Save players before disabling plugins on server shutdown --- ...ore-disabling-plugins-on-server-shut.patch | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 patches/server/1043-Save-players-before-disabling-plugins-on-server-shut.patch diff --git a/patches/server/1043-Save-players-before-disabling-plugins-on-server-shut.patch b/patches/server/1043-Save-players-before-disabling-plugins-on-server-shut.patch new file mode 100644 index 0000000000..675aa8644b --- /dev/null +++ b/patches/server/1043-Save-players-before-disabling-plugins-on-server-shut.patch @@ -0,0 +1,43 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: DerEchtePilz <81232921+DerEchtePilz@users.noreply.github.com> +Date: Sat, 2 Sep 2023 12:48:58 +0200 +Subject: [PATCH] Save players before disabling plugins on server shutdown + + +diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java +index aeae4f8d4ead24db315631c3d2c0b930d0d51e02..93145f9c35e249e4a223109a1b233ffc68e90aac 100644 +--- a/src/main/java/net/minecraft/server/MinecraftServer.java ++++ b/src/main/java/net/minecraft/server/MinecraftServer.java +@@ -1037,6 +1037,17 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop