Update to loom 0.11 to fix all issues with synthetics

This commit is contained in:
altrisi committed 2022-01-26 14:03:34 +01:00
1 parent 1af1b75dba
commit d2c159e59c
5 files changed
+7 -7

No files matched your search

@@ -12,7 +12,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
public class PerfCommand_permissionMixin
{
@SuppressWarnings("UnresolvedMixinReference")
@Inject(method = "lambda$register$0(Lnet/minecraft/commands/CommandSourceStack;)Z", at = @At("HEAD"), cancellable = true)
@Inject(method = "method_37340", at = @At("HEAD"), cancellable = true)
private static void canRun(CommandSourceStack source, CallbackInfoReturnable<Boolean> cir)
{
cir.setReturnValue(source.hasPermission(CarpetSettings.perfPermissionLevel));