Skip to content

Commit

Permalink
Fix minor warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AMereBagatelle committed May 16, 2024
1 parent 78b118d commit 318a2eb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.github.amerebagatelle.mods.nuit;

import io.github.amerebagatelle.mods.nuit.api.NuitApi;
import io.github.amerebagatelle.mods.nuit.api.NuitPlatformHelper;
import io.github.amerebagatelle.mods.nuit.config.NuitConfig;
import org.apache.logging.log4j.LogManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.mojang.blaze3d.platform.InputConstants;
import io.github.amerebagatelle.mods.nuit.NuitClient;
import io.github.amerebagatelle.mods.nuit.SkyboxManager;
import io.github.amerebagatelle.mods.nuit.api.NuitApi;
import net.minecraft.client.KeyMapping;
import net.minecraft.client.Minecraft;
import net.minecraft.network.chat.Component;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ public void registerSkyTypeRegistry(NewRegistryEvent event) {

@SubscribeEvent
public void registerSkyTypes(RegisterEvent event) {
event.register(SkyboxType.SKYBOX_TYPE_REGISTRY_KEY, registry -> {
SkyboxType.register(skyboxType -> registry.register(skyboxType.createId(), skyboxType));
});
event.register(SkyboxType.SKYBOX_TYPE_REGISTRY_KEY, registry -> SkyboxType.register(skyboxType -> registry.register(skyboxType.createId(), skyboxType)));
}

@SubscribeEvent
Expand Down

0 comments on commit 318a2eb

Please sign in to comment.