File tree Expand file tree Collapse file tree 5 files changed +526
-524
lines changed
plugins/core/scripting/generated Expand file tree Collapse file tree 5 files changed +526
-524
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,10 @@ jobs:
130130
131131 - name : Prepare ZIP Files
132132 run : |
133- (cd build; zip -qq -r ../../Swiftly.Plugin.Linux.zip . -i build/Swiftly.Plugin.Linux/*)
134- (cd build; zip -qq -r ../../Swiftly.Plugin.Windows.zip . -i build/Swiftly.Plugin.Windows/*)
135- (cd build; zip -qq -r ../../Swiftly.Plugin.Depot.Linux.zip . -i build/Swiftly.Plugin.Depot.Linux/*)
133+ sudo apt install p7zip-full -y;
134+ (cd build/Swiftly.Plugin.Linux; 7z a -tzip ../../../Swiftly.Plugin.Linux.zip *)
135+ (cd build/Swiftly.Plugin.Windows; 7z a -tzip ../../../Swiftly.Plugin.Windows.zip *)
136+ (cd build/Swiftly.Plugin.Depot.Linux; 7z a -tzip ../../../Swiftly.Plugin.Depot.Linux.zip *)
136137 echo "PATH_ARTIFACTS=$(cd ..; pwd)" >> $GITHUB_ENV
137138
138139 - name : Release
Original file line number Diff line number Diff line change @@ -34,8 +34,9 @@ void MenuManager::UnregisterMenu(std::string id)
3434 if (!player->HasMenuShown ())
3535 continue ;
3636
37- if (player->GetMenu ()->GetID () == id)
38- player->HideMenu ();
37+ if (player->GetMenu ())
38+ if (player->GetMenu ()->GetID () == id)
39+ player->HideMenu ();
3940 }
4041
4142 Menu *menu = this ->menu_ids .at (id);
You can’t perform that action at this time.
0 commit comments