Remove catchall in action pack update

Resolves #1446.
This commit is contained in:
altrisi authored and GitHub committed 2022-06-27 14:30:34 +02:00
1 parent b0c94bcebe
commit ee4bc332e3
1 file changed
+1 -9
@@ -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 @@ public abstract class ServerPlayer_actionPackMixin implements ServerPlayerEntity
@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();
}
}