From e440fc0c92ea4b91ecd6979722b60c8b04c9822b Mon Sep 17 00:00:00 2001 From: iceBear67 Date: Tue, 17 Sep 2024 22:19:04 +0800 Subject: [PATCH] (update) fix: ProjectileEntityMixin is not registered. --- .github/workflows/deploy.yml | 5 +++-- src/main/resources/sfcraft.mixins.json | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 52cb278..3dec3db 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,10 +11,11 @@ on: schedule: - cron: '0 20 * * *' workflow_dispatch: - + push: + branches: [ "master" ] jobs: build: - + if: startsWith(github.event.head_commit.message, '(update)') runs-on: ubuntu-latest permissions: contents: read diff --git a/src/main/resources/sfcraft.mixins.json b/src/main/resources/sfcraft.mixins.json index ecb0326..4258779 100644 --- a/src/main/resources/sfcraft.mixins.json +++ b/src/main/resources/sfcraft.mixins.json @@ -23,6 +23,7 @@ "server.bridge.ServerPlayerBridge", "server.bridge.ServerWorldBridge", "server.fixes.EndermanEntityMixin", + "server.fixes.ProjectileEntityMixin", "common.MobEntityMixin", "server.hack.EntitySpawnS2CPacketMixin", "server.hack.RegistryHandlerMixin",