forked from virt-mirrors/Sit
flip isClient boolean, and remove redundant SitServer
This commit is contained in:
parent
52117ea5c4
commit
34bf49c62f
4 changed files with 2 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue