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:
1 file changed
-5
@@ -172,11 +172,6 @@ public class CarpetServer // static for now - easier to handle all around the co
|
|||||||
scriptServer.onPlayerJoin(player);
|
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)
|
public static void onPlayerLoggedOut(ServerPlayer player, Component reason)
|
||||||
{
|
{
|
||||||
ServerNetworkHandler.onPlayerLoggedOut(player);
|
ServerNetworkHandler.onPlayerLoggedOut(player);
|
||||||
|
|||||||
Reference in new issue
Block a user