Skip to content

Commit

Permalink
Update for new MI version
Browse files Browse the repository at this point in the history
Fixes #12
  • Loading branch information
TheStaticVoid committed Sep 3, 2024
1 parent 1c07c5c commit dca2baf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ parchment_minecraft_version=1.21
parchment_mappings_version=2024.07.07

# Dependency versions
cloth_config_version=15.0.127
cloth_config_version=15.0.128
grandpower_version=3.0.0
grandpower_version_range=[3.0.0, 4)
kubejs_version=2100.7.0-build.102
kubejs_version_range=[2100.7.0-build.102,)
mi_version=2.2.14-beta
mi_version_range=[2.2.14-beta,)
mi_version=2.2.18-beta
mi_version_range=[2.2.18-beta,)

## Mod Properties
# The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63}
Expand All @@ -39,7 +39,7 @@ mod_name=MI Sound Addon
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=MIT
# The mod version. See https://semver.org/
mod_version=1.1.1-1.21
mod_version=1.1.2-1.21
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static void playSound(@NotNull MachineBlockEntity blockEntity, MachineRec

ModSoundEventInfo soundEventInfo;

if (!blockEntity.guiParams.blockId.equals("electric_blast_furnace")) {
if (!blockEntity.guiParams.blockId.getPath().equals("electric_blast_furnace")) {
soundEventInfo = SOUND_EVENTS.get(getRecipeType(activeRecipe));
} else {
soundEventInfo = SOUND_EVENTS.get("electric_blast_furnace");
Expand Down

0 comments on commit dca2baf

Please sign in to comment.