From 6b8bb23af9ad02f455187fe87e94ea9c70619787 Mon Sep 17 00:00:00 2001 From: William Date: Tue, 18 Jun 2024 12:34:56 +0100 Subject: [PATCH] fix: cleanup leftover todo --- .../main/java/net/william278/husksync/FabricHuskSync.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java b/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java index fa92dc7b..4736ba9c 100644 --- a/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java +++ b/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java @@ -157,7 +157,7 @@ public class FabricHuskSync implements DedicatedServerModInitializer, HuskSync, registerSerializer(Identifier.INVENTORY, new FabricSerializer.Inventory(this)); registerSerializer(Identifier.ENDER_CHEST, new FabricSerializer.EnderChest(this)); registerSerializer(Identifier.ADVANCEMENTS, new FabricSerializer.Advancements(this)); - registerSerializer(Identifier.STATISTICS, new Serializer.Json<>(this, FabricData.Statistics.class)); // TODO APPLY + registerSerializer(Identifier.STATISTICS, new Serializer.Json<>(this, FabricData.Statistics.class)); registerSerializer(Identifier.POTION_EFFECTS, new FabricSerializer.PotionEffects(this)); registerSerializer(Identifier.GAME_MODE, new Serializer.Json<>(this, FabricData.GameMode.class)); registerSerializer(Identifier.FLIGHT_STATUS, new Serializer.Json<>(this, FabricData.FlightStatus.class)); @@ -202,9 +202,7 @@ public class FabricHuskSync implements DedicatedServerModInitializer, HuskSync, }); // Register API - initialize("api", (plugin) -> { - FabricHuskSyncAPI.register(this); - }); + initialize("api", (plugin) -> FabricHuskSyncAPI.register(this)); // Check for updates this.checkForUpdates();