mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-20 00:13:21 +02:00
console language
This commit is contained in:
parent
63f1f91f7c
commit
c088247b36
2 changed files with 4 additions and 2 deletions
|
@ -99,7 +99,7 @@ public class Events {
|
||||||
ServerPlayNetworking.send(context.player(),new SitPayloads.ResponsePayload(SitPayloads.ResponsePayload.VERSION));
|
ServerPlayNetworking.send(context.player(),new SitPayloads.ResponsePayload(SitPayloads.ResponsePayload.VERSION));
|
||||||
|
|
||||||
// log the receiving of the packet from the player
|
// log the receiving of the packet from the player
|
||||||
Data.LOGGER.info("Received custom sitting settings from {}!", context.player().getName().getString());
|
Data.LOGGER.info(Utl.lang("sit!.console.player_settings",context.player().getName().getString()).getString());
|
||||||
})));
|
})));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ public class Events {
|
||||||
// only update when needed
|
// only update when needed
|
||||||
if (!Data.isSupportedServer()) {
|
if (!Data.isSupportedServer()) {
|
||||||
Data.setSupportedServer(true);
|
Data.setSupportedServer(true);
|
||||||
Data.LOGGER.info("Connected to Sit! server! packet: {}", payload.value());
|
Data.LOGGER.info(Utl.lang("sit!.console.connected",payload.value()).getString());
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,4 +99,6 @@
|
||||||
"gui.button.revert": "Revert Changes",
|
"gui.button.revert": "Revert Changes",
|
||||||
"gui.button.save": "Save and Close",
|
"gui.button.save": "Save and Close",
|
||||||
"gui.button.website": "Website"
|
"gui.button.website": "Website"
|
||||||
|
"sit!.console.connected": "Connected to Sit! server: %s",
|
||||||
|
"sit!.console.player_settings": "Received custom sitting settings from %s!",
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue