Skip to content

Commit 4b9d58a

Browse files
no debug in test
1 parent b635341 commit 4b9d58a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def loadEnv() {
3333
}
3434

3535
loadEnv()
36-
version = mod_version
36+
version = minecraft_version + "-" + mod_version
3737
group = mod_group_id
3838

3939
base {
@@ -210,7 +210,7 @@ tasks.named('jar', Jar).configure {
210210

211211
tasks.test {
212212
useJUnitPlatform()
213-
debug = true;
213+
//debug = true;
214214
}
215215
// However if you are in a multi-project build, dev time needs unobfed jar files, so you can delay the obfuscation until publishing by doing:
216216
// tasks.named('publish').configure {

src/main/java/com/rae/formicapi/data/managers/FloatMapDataLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public FloatMapDataLoader(String modId, String fileName, ResourceKey<Registry<T>
3737
}
3838

3939
@Override
40-
protected void apply(Map<ResourceLocation, JsonElement> map, ResourceManager resourceManager, ProfilerFiller profiler) {
40+
protected void apply(Map<ResourceLocation, JsonElement> map, @NotNull ResourceManager resourceManager, @NotNull ProfilerFiller profiler) {
4141
LOGGER.info("Reloading FloatMapDataLoader for: {}", FILE_NAME);
4242
boolean replace = false;
4343
Map<ResourceLocation, Float> newValues = new HashMap<>();

0 commit comments

Comments
 (0)