Skip to content

Commit ab1bc09

Browse files
committed
6.2.3
1 parent 39e151e commit ab1bc09

File tree

5 files changed

+185
-185
lines changed

5 files changed

+185
-185
lines changed

CHANGELOG.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
Changelog of recent updates: https://github.com/RobertSkalko/Mine-And-Slash-Rework/blob/1.20-Forge/changelogs/v.6.2.txt
22

3-
v.6.2.2
3+
v.6.2.3
44

5-
- tweaked summon AI, tell me if it's better or worse, specifically removed swim goal and added nearest attackable goal
6-
- fixed map level req tooltip being confusing
5+
- fix jewel not corrupted requirement

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
org.gradle.jvmargs=-Xmx2G
33
# --- COMMON GRADLE START ---
44
# Mod Properties
5-
mod_version=6.2.2
5+
mod_version=6.2.3
66
# Minecraft Versions
77
minecraft_version=1.20.1
88
forgeversion=47.1.43
@@ -20,7 +20,7 @@ modrinth_id=oifKCkhG
2020
release_type=release
2121
maven_group=com.robertx22
2222
# Dependencies
23-
exile_library_version=2.0.2
23+
exile_library_version=2.0.7
2424
curios_version=5.2.0-beta.3+1.20.1
2525
jei_version=15.2.0.27
2626
wiki_toolkit_version=0.2.4

src/main/java/com/robertx22/addons/orbs_of_crafting/currency/reworked/item_req/custom/IsNotCorruptedReq.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public boolean isValid(Player p, StackHolder stack) {
4343
if (ex.get(StackKeys.CUSTOM).hasAndTrue(x -> x.isCorrupted())) {
4444
return false;
4545
}
46-
if (ex.get(StackKeys.JEWEL).hasAndTrue(x -> x.cor.isEmpty())) {
46+
if (ex.get(StackKeys.JEWEL).hasAndTrue(x -> !x.cor.isEmpty())) {
4747
return false;
4848
}
4949
return true;

src/main/java/com/robertx22/mine_and_slash/database/registry/ExileDB.java

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public static ExileRegistryContainer<SpellSchool> SpellSchools() {
221221
return Database.getRegistry(ExileRegistryTypes.SPELL_SCHOOL);
222222
}
223223

224-
224+
225225
public static ExileRegistryContainer<MapAffix> MapAffixes() {
226226
return Database.getRegistry(ExileRegistryTypes.MAP_AFFIX);
227227
}
@@ -283,12 +283,15 @@ public static ExileRegistryContainer<BaseStatsConfig> BaseStats() {
283283
}
284284

285285
public static void checkAllDatabasesHaveDefaultEmpty() {
286-
287-
for (ExileRegistryType type : ExileRegistryType.getAllInRegisterOrder()) {
288-
var reg = Database.getRegistry(type);
289-
var em = reg.getDefault();
290-
if (em == null) {
291-
if (MMORPG.RUN_DEV_TOOLS) {
286+
if (MMORPG.RUN_DEV_TOOLS) {
287+
for (ExileRegistryType type : ExileRegistryType.getAllInRegisterOrder()) {
288+
var reg = Database.getRegistry(type);
289+
if (reg == null) {
290+
ExileLog.get().warn(type.id + " registry returns null");
291+
continue;
292+
}
293+
var em = reg.getDefault();
294+
if (em == null) {
292295
ExileLog.get().warn(type.id + " default is null or not registered");
293296
}
294297
}

0 commit comments

Comments
 (0)