mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Now with less warnings
This commit is contained in:
parent
23d5ba4d79
commit
bd7725f694
2
.github/actions/upload_build/action.yml
vendored
2
.github/actions/upload_build/action.yml
vendored
@ -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 }}
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user