Compare commits

...

2 Commits
1.2 ... 1.18

Author SHA1 Message Date
Jill bca7d5185b bump to 1.3 2023-02-18 23:30:24 +03:00
Jill b2cc5c7c93 fix https://github.com/Kingdom-of-The-Moon/FiguraRewriteRewrite/issues/61 2023-02-18 23:28:56 +03:00
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ minecraft_version=1.18.2
yarn_mappings=1.18.2+build.4
loader_version=0.14.10
# Mod Properties
mod_version=1.2+1.18
mod_version=1.3+1.18
maven_group=zone.oat.supersecretrevival
archives_base_name=super-secret-revival
# Dependencies

View File

@ -16,6 +16,6 @@ public class CancelClickSoundMixin {
@Inject(method = "playDownSound", at = @At(value = "HEAD"), cancellable = true)
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();
}
}