mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 09:44:10 +00:00
Remove unneeded commands (#880)
* Remove unneeded commands * Thank you aron
This commit is contained in:
@@ -212,22 +212,6 @@ void SlashCommandHandler::HandleChatCommand(const std::u16string& command, Entit
|
||||
return;
|
||||
}
|
||||
|
||||
if (chatCommand == "skip-ags") {
|
||||
auto* missionComponent = entity->GetComponent<MissionComponent>();
|
||||
|
||||
if (missionComponent != nullptr && missionComponent->HasMission(479)) {
|
||||
missionComponent->CompleteMission(479);
|
||||
}
|
||||
}
|
||||
|
||||
if (chatCommand == "skip-sg") {
|
||||
auto* missionComponent = entity->GetComponent<MissionComponent>();
|
||||
|
||||
if (missionComponent != nullptr && missionComponent->HasMission(229)) {
|
||||
missionComponent->CompleteMission(229);
|
||||
}
|
||||
}
|
||||
|
||||
if (chatCommand == "fix-stats") {
|
||||
// Reset skill component and buff component
|
||||
auto* skillComponent = entity->GetComponent<SkillComponent>();
|
||||
|
Reference in New Issue
Block a user