Skip to content

Commit

Permalink
fix: cleanup leftover todo
Browse files Browse the repository at this point in the history
  • Loading branch information
WiIIiam278 committed Jun 18, 2024
1 parent 91bbe05 commit 6b8bb23
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private void onEnable() {
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));
Expand Down Expand Up @@ -202,9 +202,7 @@ private void onEnable() {
});

// Register API
initialize("api", (plugin) -> {
FabricHuskSyncAPI.register(this);
});
initialize("api", (plugin) -> FabricHuskSyncAPI.register(this));

// Check for updates
this.checkForUpdates();
Expand Down

0 comments on commit 6b8bb23

Please sign in to comment.