Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Jill | bca7d5185b | |
Jill | b2cc5c7c93 |
|
@ -6,7 +6,7 @@ minecraft_version=1.18.2
|
||||||
yarn_mappings=1.18.2+build.4
|
yarn_mappings=1.18.2+build.4
|
||||||
loader_version=0.14.10
|
loader_version=0.14.10
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=1.2+1.18
|
mod_version=1.3+1.18
|
||||||
maven_group=zone.oat.supersecretrevival
|
maven_group=zone.oat.supersecretrevival
|
||||||
archives_base_name=super-secret-revival
|
archives_base_name=super-secret-revival
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
|
@ -16,6 +16,6 @@ public class CancelClickSoundMixin {
|
||||||
|
|
||||||
@Inject(method = "playDownSound", at = @At(value = "HEAD"), cancellable = true)
|
@Inject(method = "playDownSound", at = @At(value = "HEAD"), cancellable = true)
|
||||||
private void injected(SoundManager soundManager, CallbackInfo ci) {
|
private void injected(SoundManager soundManager, CallbackInfo ci) {
|
||||||
if (this.message.equals(Mod.BUTTON_TEXT)) ci.cancel();
|
if (this.message != null && this.message.equals(Mod.BUTTON_TEXT)) ci.cancel();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue