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:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.DEST_NAME }}
|
name: ${{ inputs.DEST_NAME }}
|
||||||
path: ${{ inputs.SOURCE_FILE }}
|
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
|
if: github.ref_name == github.event.repository.default_branch
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Compile MCGalaxy using mono
|
- name: Compile MCGalaxy using mono
|
||||||
shell: bash
|
shell: bash
|
||||||
id: compile
|
id: compile
|
||||||
|
@ -29,11 +29,12 @@ namespace MCGalaxy.Core {
|
|||||||
|
|
||||||
if (scope == ChatScope.Perms) {
|
if (scope == ChatScope.Perms) {
|
||||||
logType = LogType.StaffChat;
|
logType = LogType.StaffChat;
|
||||||
} else if (scope == ChatScope.Chatroom || scope == ChatScope.AllChatrooms) {
|
|
||||||
logType = LogType.ChatroomChat;
|
|
||||||
} else if (scope == ChatScope.Rank) {
|
} else if (scope == ChatScope.Rank) {
|
||||||
logType = LogType.RankChat;
|
logType = LogType.RankChat;
|
||||||
}
|
}
|
||||||
|
//else if (scope == ChatScope.Chatroom || scope == ChatScope.AllChatrooms) {
|
||||||
|
// logType = LogType.ChatroomChat;
|
||||||
|
//}
|
||||||
|
|
||||||
if (scope != ChatScope.PM) Logger.Log(logType, text);
|
if (scope != ChatScope.PM) Logger.Log(logType, text);
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ namespace MCGalaxy.Modules.Relay
|
|||||||
|
|
||||||
protected bool canReconnect;
|
protected bool canReconnect;
|
||||||
protected byte retries;
|
protected byte retries;
|
||||||
volatile Thread worker;
|
Thread worker;
|
||||||
/// <summary> Whether this relay bot can automatically reconnect </summary>
|
/// <summary> Whether this relay bot can automatically reconnect </summary>
|
||||||
protected abstract bool CanReconnect { get; }
|
protected abstract bool CanReconnect { get; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user