Skip to content

Commit

Permalink
Fix Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed May 24, 2024
1 parent 9002f99 commit 9b03e95
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,23 +116,23 @@ void testMultipleEntrypoints() throws Exception {
var testJar = installation.writeModJar("test.jar", SimulatedInstallation.createModsToml("testmod", "1.0"));
try (var compiler = RuntimeCompiler.create(testJar)) {
compiler.builder()
.addClass("testmod.EntryPoint", """
.addClass("testmod.EntryPoint", """
@net.neoforged.fml.common.Mod("testmod")
public class EntryPoint {
public EntryPoint() {
net.neoforged.fml.javafmlmod.FMLJavaModLanguageProviderTest.MESSAGES.add("common");
}
}
""")
.addClass("testmod.ClientEntryPoint", """
.addClass("testmod.ClientEntryPoint", """
@net.neoforged.fml.common.Mod(value = "testmod", dist = net.neoforged.api.distmarker.Dist.CLIENT)
public class ClientEntryPoint {
public ClientEntryPoint() {
net.neoforged.fml.javafmlmod.FMLJavaModLanguageProviderTest.MESSAGES.add("client");
}
}
""")
.compile();
.compile();
}

var result = launch("forgeclient");
Expand Down

0 comments on commit 9b03e95

Please sign in to comment.