Skip to content

Commit ab68ab0

Browse files
committed
Only fetch backported sounds when AssetMover is present
1 parent 8da764c commit ab68ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/mod/acgaming/extrasounds/ExtraSounds.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ public void fmlConstruct(FMLConstructionEvent event)
6868
Class.forName("com.cleanroommc.assetmover.AssetMoverAPI");
6969
assetmover = true;
7070
LOGGER.info("AssetMover detected, enabling compatibility...");
71+
if (event.getSide() == Side.CLIENT) ESSoundEventsClient.getBackportedSounds();
7172
}
7273
catch (ClassNotFoundException ignored)
7374
{
7475
LOGGER.warn("AssetMover not detected, some sounds will be missing...");
7576
}
76-
if (event.getSide() == Side.CLIENT) ESSoundEventsClient.getBackportedSounds();
7777
}
7878
}

0 commit comments

Comments
 (0)