diff --git a/build.gradle b/build.gradle index 1022f02..633d904 100644 --- a/build.gradle +++ b/build.gradle @@ -18,9 +18,9 @@ buildscript { apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'org.spongepowered.mixin' -version = '1.12.2-1.4.1' +version = '1.4.2' group = 'mod.acgaming.extrasounds' -archivesBaseName = 'ExtraSounds' +archivesBaseName = 'ExtraSounds-1.12.2' sourceCompatibility = targetCompatibility = '1.8' compileJava { diff --git a/src/main/java/mod/acgaming/extrasounds/ExtraSounds.java b/src/main/java/mod/acgaming/extrasounds/ExtraSounds.java index 569a5e0..bbbb46a 100644 --- a/src/main/java/mod/acgaming/extrasounds/ExtraSounds.java +++ b/src/main/java/mod/acgaming/extrasounds/ExtraSounds.java @@ -21,7 +21,7 @@ public class ExtraSounds { public static final String MODID = "extrasounds"; public static final String NAME = "Extra Sounds"; - public static final String VERSION = "1.12.2-1.4.1"; + public static final String VERSION = "1.4.2"; public static final String DEPENDENCIES = "required-after:mixinbooter;after:assetmover;after:jei;after:asmc;after:dsurround"; public static final Logger LOGGER = LogManager.getLogger(NAME); public static boolean asmc = false; diff --git a/src/main/java/mod/acgaming/extrasounds/mixin/TileEntityBeaconMixin.java b/src/main/java/mod/acgaming/extrasounds/mixin/TileEntityBeaconMixin.java index 39bc716..235a7ce 100644 --- a/src/main/java/mod/acgaming/extrasounds/mixin/TileEntityBeaconMixin.java +++ b/src/main/java/mod/acgaming/extrasounds/mixin/TileEntityBeaconMixin.java @@ -46,7 +46,7 @@ public abstract class TileEntityBeaconMixin extends TileEntityLockable implement @Nullable private Potion secondaryEffect; - @Inject(method = "updateBeacon", at = @At(value = "TAIL")) + @Inject(method = "updateBeacon", at = @At(value = "INVOKE", target = "Lnet/minecraft/tileentity/TileEntityBeacon;addEffectsToPlayers()V")) public void esBeaconSoundAmbient(CallbackInfo ci) { if (ESConfig.soundToggles.esBeaconSound && !ExtraSounds.asmc && ExtraSounds.assetmover && this.isComplete)