From fedccb4d61f6eab464cc998f70e71596259c4e82 Mon Sep 17 00:00:00 2001 From: altrisi Date: Fri, 28 Jul 2023 21:01:39 +0200 Subject: [PATCH] Remove `onPlayerLoggedOut` with one arg method It's never been API and but it has even been deprecated for a while so nothing should be using it --- src/main/java/carpet/CarpetServer.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/carpet/CarpetServer.java b/src/main/java/carpet/CarpetServer.java index 90897bbd..98638989 100644 --- a/src/main/java/carpet/CarpetServer.java +++ b/src/main/java/carpet/CarpetServer.java @@ -172,11 +172,6 @@ public class CarpetServer // static for now - easier to handle all around the co scriptServer.onPlayerJoin(player); } - @Deprecated(forRemoval = true) - public static void onPlayerLoggedOut(ServerPlayer player) - { - onPlayerLoggedOut(player, Component.translatable("multiplayer.player.left")); - } public static void onPlayerLoggedOut(ServerPlayer player, Component reason) { ServerNetworkHandler.onPlayerLoggedOut(player);