Now with less warnings

This commit is contained in:
UnknownShadow200 2024-04-01 15:35:33 +11:00
parent 23d5ba4d79
commit bd7725f694
4 changed files with 6 additions and 5 deletions

View File

@ -13,7 +13,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ inputs.DEST_NAME }}
path: ${{ inputs.SOURCE_FILE }}

View File

@ -10,7 +10,7 @@ jobs:
if: github.ref_name == github.event.repository.default_branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Compile MCGalaxy using mono
shell: bash
id: compile

View File

@ -29,11 +29,12 @@ namespace MCGalaxy.Core {
if (scope == ChatScope.Perms) {
logType = LogType.StaffChat;
} else if (scope == ChatScope.Chatroom || scope == ChatScope.AllChatrooms) {
logType = LogType.ChatroomChat;
} else if (scope == ChatScope.Rank) {
logType = LogType.RankChat;
}
//else if (scope == ChatScope.Chatroom || scope == ChatScope.AllChatrooms) {
// logType = LogType.ChatroomChat;
//}
if (scope != ChatScope.PM) Logger.Log(logType, text);
}

View File

@ -54,7 +54,7 @@ namespace MCGalaxy.Modules.Relay
protected bool canReconnect;
protected byte retries;
volatile Thread worker;
Thread worker;
/// <summary> Whether this relay bot can automatically reconnect </summary>
protected abstract bool CanReconnect { get; }