Bump version

This commit is contained in:
FlorianMichael 2023-05-16 20:22:36 +02:00
parent 8efa9700c0
commit b09dd84019
2 changed files with 4 additions and 2 deletions

View File

@ -9,7 +9,7 @@ loader_version=0.14.19
fabric_api_version=0.76.0+1.19.4 fabric_api_version=0.76.0+1.19.4
# viafabricplus # viafabricplus
mod_version=2.7.1 mod_version=2.7.2
maven_group=de.florianmichael maven_group=de.florianmichael
archives_base_name=viafabricplus archives_base_name=viafabricplus

View File

@ -36,6 +36,8 @@ public class MixinStructureBlockScreen_1 extends TextFieldWidget {
@Inject(method = "charTyped(CI)Z", at = @At("HEAD"), cancellable = true) @Inject(method = "charTyped(CI)Z", at = @At("HEAD"), cancellable = true)
private void onCharTyped(char chr, int keyCode, CallbackInfoReturnable<Boolean> ci) { private void onCharTyped(char chr, int keyCode, CallbackInfoReturnable<Boolean> ci) {
if (ProtocolHack.getTargetVersion().isOlderThanOrEqualTo(ProtocolVersion.v1_12_2)) ci.setReturnValue(super.charTyped(chr, keyCode)); if (ProtocolHack.getTargetVersion().isOlderThanOrEqualTo(ProtocolVersion.v1_12_2)) {
ci.setReturnValue(super.charTyped(chr, keyCode));
}
} }
} }