From ee4bc332e3cc046f00f6ed3a5f54b2984ce4065e Mon Sep 17 00:00:00 2001 From: altrisi Date: Mon, 27 Jun 2022 14:30:34 +0200 Subject: [PATCH] Remove catchall in action pack update Resolves #1446. --- .../carpet/mixins/ServerPlayer_actionPackMixin.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/main/java/carpet/mixins/ServerPlayer_actionPackMixin.java b/src/main/java/carpet/mixins/ServerPlayer_actionPackMixin.java index f505dae19c..880212c256 100644 --- a/src/main/java/carpet/mixins/ServerPlayer_actionPackMixin.java +++ b/src/main/java/carpet/mixins/ServerPlayer_actionPackMixin.java @@ -1,6 +1,5 @@ package carpet.mixins; -import carpet.CarpetSettings; import carpet.fakes.ServerPlayerEntityInterface; import carpet.helpers.EntityPlayerActionPack; import com.mojang.authlib.GameProfile; @@ -34,13 +33,6 @@ private void onServerPlayerEntityContructor(MinecraftServer foo, ServerLevel bar @Inject(method = "tick", at = @At(value = "HEAD")) private void onTick(CallbackInfo ci) { - try - { - actionPack.onUpdate(); - } - catch (Throwable exc) - { - CarpetSettings.LOG.error("Error executing player tasks", exc); - } + actionPack.onUpdate(); } }