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
This commit is contained in:
altrisi committed 2023-07-28 21:01:39 +02:00
1 parent fbe37017c5
commit fedccb4d61
1 file changed
-5
-5
View File
@@ -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);