flip isClient boolean, and remove redundant SitServer

This commit is contained in:
Oth3r 2023-11-26 00:18:33 -06:00
commit 34bf49c62f
4 changed files with 2 additions and 16 deletions

View file

@ -9,6 +9,7 @@ public class SitClient implements ClientModInitializer {
public static boolean inGame = false;
@Override
public void onInitializeClient() {
Sit.isClient = true;
ClientPlayConnectionEvents.JOIN.register((handler, sender, client) -> {
inGame = true;
// send a data packet whenever joining a server