Skip to content

Commit

Permalink
Remove catchall in action pack update
Browse files Browse the repository at this point in the history
Resolves gnembon#1446.
  • Loading branch information
altrisi authored Jun 27, 2022
1 parent b0c94bc commit ee4bc33
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/main/java/carpet/mixins/ServerPlayer_actionPackMixin.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package carpet.mixins;

import carpet.CarpetSettings;
import carpet.fakes.ServerPlayerEntityInterface;
import carpet.helpers.EntityPlayerActionPack;
import com.mojang.authlib.GameProfile;
Expand Down Expand Up @@ -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();
}
}

0 comments on commit ee4bc33

Please sign in to comment.