1 parent
b0c94bcebe
commit
ee4bc332e3
1 file changed
+1
-9
@@ -1,6 +1,5 @@
|
|||||||
package carpet.mixins;
|
package carpet.mixins;
|
||||||
|
|
||||||
import carpet.CarpetSettings;
|
|
||||||
import carpet.fakes.ServerPlayerEntityInterface;
|
import carpet.fakes.ServerPlayerEntityInterface;
|
||||||
import carpet.helpers.EntityPlayerActionPack;
|
import carpet.helpers.EntityPlayerActionPack;
|
||||||
import com.mojang.authlib.GameProfile;
|
import com.mojang.authlib.GameProfile;
|
||||||
@@ -34,13 +33,6 @@ public abstract class ServerPlayer_actionPackMixin implements ServerPlayerEntity
|
|||||||
@Inject(method = "tick", at = @At(value = "HEAD"))
|
@Inject(method = "tick", at = @At(value = "HEAD"))
|
||||||
private void onTick(CallbackInfo ci)
|
private void onTick(CallbackInfo ci)
|
||||||
{
|
{
|
||||||
try
|
actionPack.onUpdate();
|
||||||
{
|
|
||||||
actionPack.onUpdate();
|
|
||||||
}
|
|
||||||
catch (Throwable exc)
|
|
||||||
{
|
|
||||||
CarpetSettings.LOG.error("Error executing player tasks", exc);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user