mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-14 12:18:22 +00:00
Merge branch 'DarkflameUniverse:main' into main
This commit is contained in:
commit
279fa076d6
1
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
1
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
@ -7,6 +7,7 @@ body:
|
|||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
id: checks
|
id: checks
|
||||||
attributes:
|
attributes:
|
||||||
|
label: "Make sure you've done the following:"
|
||||||
options:
|
options:
|
||||||
- label: >
|
- label: >
|
||||||
I have checked that this issue has not already been reported.
|
I have checked that this issue has not already been reported.
|
||||||
|
@ -5,7 +5,9 @@ labels: ["docs", "triage"]
|
|||||||
|
|
||||||
body:
|
body:
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
|
id: checks
|
||||||
attributes:
|
attributes:
|
||||||
|
label: "Make sure you've done the following:"
|
||||||
options:
|
options:
|
||||||
- label: >
|
- label: >
|
||||||
I have checked that this issue has not already been reported.
|
I have checked that this issue has not already been reported.
|
||||||
|
@ -7,6 +7,7 @@ body:
|
|||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
id: checks
|
id: checks
|
||||||
attributes:
|
attributes:
|
||||||
|
label: "Make sure you've done the following:"
|
||||||
options:
|
options:
|
||||||
- label: >
|
- label: >
|
||||||
I have read the [installation guide](https://github.com/DarkflameUniverse/DarkflameServer/blob/main/README.md).
|
I have read the [installation guide](https://github.com/DarkflameUniverse/DarkflameServer/blob/main/README.md).
|
||||||
|
@ -7,6 +7,7 @@ body:
|
|||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
id: checks
|
id: checks
|
||||||
attributes:
|
attributes:
|
||||||
|
label: "Make sure you've done the following:"
|
||||||
options:
|
options:
|
||||||
- label: >
|
- label: >
|
||||||
I have checked that this issue has not already been reported.
|
I have checked that this issue has not already been reported.
|
||||||
|
@ -289,10 +289,10 @@ Here is a summary of the commands available in-game. All commands are prefixed b
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
instance-info
|
instanceinfo
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
/instance-info
|
/instanceinfo
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
Displays in the chat the current zone, clone, and instance id.
|
Displays in the chat the current zone, clone, and instance id.
|
||||||
|
@ -407,7 +407,7 @@ void SlashCommandHandler::HandleChatCommand(const std::u16string& command, Entit
|
|||||||
stmt->execute();
|
stmt->execute();
|
||||||
delete stmt;
|
delete stmt;
|
||||||
|
|
||||||
if (chatCommand == "setMinifig" && args.size() == 2 && entity->GetGMLevel() >= GAME_MASTER_LEVEL_FORUM_MODERATOR) { // could break characters so only allow if GM > 0
|
if (chatCommand == "setminifig" && args.size() == 2 && entity->GetGMLevel() >= GAME_MASTER_LEVEL_FORUM_MODERATOR) { // could break characters so only allow if GM > 0
|
||||||
int32_t minifigItemId;
|
int32_t minifigItemId;
|
||||||
if (!GeneralUtils::TryParse(args[1], minifigItemId)) {
|
if (!GeneralUtils::TryParse(args[1], minifigItemId)) {
|
||||||
ChatPackets::SendSystemMessage(sysAddr, u"Invalid Minifig Item Id ID.");
|
ChatPackets::SendSystemMessage(sysAddr, u"Invalid Minifig Item Id ID.");
|
||||||
@ -434,7 +434,7 @@ void SlashCommandHandler::HandleChatCommand(const std::u16string& command, Entit
|
|||||||
charComp->m_Character->SetMouth(minifigItemId);
|
charComp->m_Character->SetMouth(minifigItemId);
|
||||||
} else if (lowerName == "righthand") {
|
} else if (lowerName == "righthand") {
|
||||||
charComp->m_Character->SetRightHand(minifigItemId);
|
charComp->m_Character->SetRightHand(minifigItemId);
|
||||||
} else if (lowerName == "shirt") {
|
} else if (lowerName == "shirtcolor") {
|
||||||
charComp->m_Character->SetShirtColor(minifigItemId);
|
charComp->m_Character->SetShirtColor(minifigItemId);
|
||||||
} else if (lowerName == "hands") {
|
} else if (lowerName == "hands") {
|
||||||
charComp->m_Character->SetLeftHand(minifigItemId);
|
charComp->m_Character->SetLeftHand(minifigItemId);
|
||||||
|
Loading…
Reference in New Issue
Block a user