added coords
This commit is contained in:
@@ -21,6 +21,7 @@ public class CitrusDevClient implements ClientModInitializer {
|
||||
Module_KeyStrokes.register();
|
||||
Module_Coords.register();
|
||||
|
||||
|
||||
KeyMapping.Category category = KeyMapping.Category.register(
|
||||
Identifier.fromNamespaceAndPath("citrus-dev", "general"));
|
||||
|
||||
@@ -33,12 +34,14 @@ public class CitrusDevClient implements ClientModInitializer {
|
||||
ClientTickEvents.END_CLIENT_TICK.register(client -> {
|
||||
if (client.player != null && !client.isPaused()) {
|
||||
PlaytimeTracker.tick();
|
||||
QuestsPanel.tick();
|
||||
}
|
||||
|
||||
Module_FPS.tick();
|
||||
Module_KeyStrokes.tick();
|
||||
Module_Coords.tick();
|
||||
|
||||
|
||||
while (openScreenKey.consumeClick()) {
|
||||
if (client.player != null && client.player.isShiftKeyDown()) {
|
||||
String lastModule = Config.get().lastModule;
|
||||
|
||||
@@ -22,7 +22,7 @@ public class PlaytimeTracker {
|
||||
//ticks zu backend schicken
|
||||
|
||||
private static final String BACKEND_URL =
|
||||
"http://127.0.0.1:5000/api/heartbeat";
|
||||
"http://62.116.42.223:25501/api/heartbeat";
|
||||
|
||||
private static final HttpClient HTTP =
|
||||
HttpClient.newBuilder()
|
||||
@@ -87,7 +87,7 @@ public class PlaytimeTracker {
|
||||
//playtime vom server holen
|
||||
|
||||
private static final String PLAYTIME_URL =
|
||||
"http://localhost:5000/api/player/%s/playtime";
|
||||
"http://62.116.42.223:25501/api/player/%s/playtime";
|
||||
|
||||
|
||||
public static void getPlaytime() {
|
||||
|
||||
Reference in New Issue
Block a user