Merge branch 'master' into 1.17
This commit is contained in:
commit
b082de1071
3 files changed
+61
-4
No files matched your search
@@ -37,13 +37,17 @@ public class CarpetClient
|
||||
|
||||
public static void disconnect()
|
||||
{
|
||||
if (isServerCarpet)
|
||||
if (isServerCarpet) // multiplayer connection
|
||||
{
|
||||
isServerCarpet = false;
|
||||
clientPlayer = null;
|
||||
CarpetServer.onServerClosed(null);
|
||||
CarpetServer.onServerDoneClosing(null);
|
||||
}
|
||||
else // singleplayer disconnect
|
||||
{
|
||||
CarpetServer.clientPreClosing();
|
||||
}
|
||||
}
|
||||
|
||||
public static void setCarpet()
|
||||
|
||||
Reference in new issue
Block a user