diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 3e0c24a33..19bd86b30 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -33,14 +33,21 @@ jobs: - name: Update submodule run: | git checkout -b csupdate-${{ matrix.branches }} + git reset --hard origin/${{ matrix.branches }} cd lib/FFXIVClientStructs git fetch git reset --hard origin/main cd ../.. git add lib/FFXIVClientStructs git commit --message "Update ClientStructs" - git push origin csupdate-${{ matrix.branches }} + git push origin csupdate-${{ matrix.branches }} --force - name: Create PR run: | echo ${{ secrets.UPDATE_PAT }} | gh auth login --with-token - gh pr create --head csupdate-${{ matrix.branches }} --title "[${{ matrix.branches }}] Update ClientStructs" --body "" --base ${{ matrix.branches }} + prNumber=$(gh pr list --base ${{ matrix.branches }} --head csupdate-${{ matrix.branches }} --state open --json number --template "{{range .}}{{.number}}{{end}}") + if [ -z "$prNumber" ]; then + echo "No PR found, creating one" + gh pr create --head csupdate-${{ matrix.branches }} --title "[${{ matrix.branches }}] Update ClientStructs" --body "" --base ${{ matrix.branches }} + else + echo "PR already exists, ignoring" + fi diff --git a/Dalamud/Dalamud.csproj b/Dalamud/Dalamud.csproj index fd837896a..addcdfc57 100644 --- a/Dalamud/Dalamud.csproj +++ b/Dalamud/Dalamud.csproj @@ -70,7 +70,7 @@ - + @@ -110,6 +110,14 @@ + + + + monomod + + + + $(OutputPath)TEMP_gitver.txt diff --git a/Dalamud/Game/Gui/FlyText/FlyTextGui.cs b/Dalamud/Game/Gui/FlyText/FlyTextGui.cs index c69f6cb9c..f2222a7cd 100644 --- a/Dalamud/Game/Gui/FlyText/FlyTextGui.cs +++ b/Dalamud/Game/Gui/FlyText/FlyTextGui.cs @@ -262,6 +262,7 @@ public sealed class FlyTextGui : IDisposable, IServiceType tmpVal2 != val2 || tmpText1.ToString() != cmpText1 || tmpText2.ToString() != cmpText2 || + tmpDamageTypeIcon != damageTypeIcon || tmpColor != color || tmpIcon != icon || Math.Abs(tmpYOffset - yOffset) > float.Epsilon; diff --git a/lib/FFXIVClientStructs b/lib/FFXIVClientStructs index af4c2b5f9..08e6c7ed7 160000 --- a/lib/FFXIVClientStructs +++ b/lib/FFXIVClientStructs @@ -1 +1 @@ -Subproject commit af4c2b5f9aebfb2518da9fe167fe8fdfdf614b38 +Subproject commit 08e6c7ed7747ad68a38e5762863b5874fe04b8b8