mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-16 17:25:09 +01:00
Compare commits
2 Commits
architectu
...
2e6bcaa3f2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e6bcaa3f2 | ||
|
|
b7c9d83078 |
@@ -132,7 +132,7 @@ public abstract class MidnightConfig {
|
|||||||
entries.values().forEach(info -> {
|
entries.values().forEach(info -> {
|
||||||
if (info.field != null && info.entry != null) {
|
if (info.field != null && info.entry != null) {
|
||||||
try {
|
try {
|
||||||
info.value = info.field.get(null);
|
info.value = info.field.get(null) == null ? info.defaultValue : info.field.get(null);
|
||||||
info.tempValue = info.toTemporaryValue();
|
info.tempValue = info.toTemporaryValue();
|
||||||
info.updateConditions();
|
info.updateConditions();
|
||||||
} catch (IllegalAccessException ignored) {}
|
} catch (IllegalAccessException ignored) {}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ yarn_mappings=1.21.6+build.1
|
|||||||
enabled_platforms=fabric,neoforge
|
enabled_platforms=fabric,neoforge
|
||||||
|
|
||||||
archives_base_name=midnightlib
|
archives_base_name=midnightlib
|
||||||
mod_version=1.7.5
|
mod_version=1.7.6-rc.1
|
||||||
maven_group=eu.midnightdust
|
maven_group=eu.midnightdust
|
||||||
release_type=release
|
release_type=release
|
||||||
curseforge_id=488090
|
curseforge_id=488090
|
||||||
|
|||||||
Reference in New Issue
Block a user