Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Commit

Permalink
Capitalize vIdk anymore (#4525)
Browse files Browse the repository at this point in the history
* Capitalize vIdk anymore

* de fix
  • Loading branch information
Intoprelised authored Oct 4, 2021
1 parent b36345a commit d051dab
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Horion.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
<ClCompile Include="Horion\Command\Commands\ScriptCommand.cpp" />
<ClCompile Include="Horion\Command\Commands\ServerCommand.cpp" />
<ClCompile Include="Horion\Command\Commands\SetOffhandCommand.cpp" />
<ClCompile Include="Horion\Command\Commands\SetprefixCommand.cpp" />
<ClCompile Include="Horion\Command\Commands\SetPrefixCommand.cpp" />
<ClCompile Include="Horion\Command\Commands\SpammerCommand.cpp" />
<ClCompile Include="Horion\Command\Commands\TeleportCommand.cpp" />
<ClCompile Include="Horion\Command\Commands\TestCommand.cpp" />
Expand Down Expand Up @@ -447,7 +447,7 @@
<ClInclude Include="Horion\Command\Commands\ScriptCommand.h" />
<ClInclude Include="Horion\Command\Commands\ServerCommand.h" />
<ClInclude Include="Horion\Command\Commands\SetOffhandCommand.h" />
<ClInclude Include="Horion\Command\Commands\SetprefixCommand.h" />
<ClInclude Include="Horion\Command\Commands\SetPrefixCommand.h" />
<ClInclude Include="Horion\Command\Commands\SpammerCommand.h" />
<ClInclude Include="Horion\Command\Commands\TeleportCommand.h" />
<ClInclude Include="Horion\Command\Commands\TestCommand.h" />
Expand Down
2 changes: 1 addition & 1 deletion Horion/Command/CommandMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void CommandMgr::initCommands() {
commandList.push_back(new DupeCommand());
commandList.push_back(new DamageCommand());
commandList.push_back(new ConfigCommand());
commandList.push_back(new SetprefixCommand());
commandList.push_back(new SetPrefixCommand());
commandList.push_back(new NbtCommand());
commandList.push_back(new WaypointCommand());
commandList.push_back(new TopCommand());
Expand Down
2 changes: 1 addition & 1 deletion Horion/Command/CommandMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "Commands/CommandBlockExploitCommand.h"
#include "Commands/ConfigCommand.h"
#include "Commands/NameSpoofCommand.h"
#include "Commands/SetprefixCommand.h"
#include "Commands/SetPrefixCommand.h"
#include "Commands/NbtCommand.h"
#include "Commands/ExecuteCommand.h"
#include "Commands/WaypointCommand.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#include "SetprefixCommand.h"
#include "SetPrefixCommand.h"

SetprefixCommand::SetprefixCommand() : IMCCommand("setprefix", "Set the prefix for horion commands", "<prefix>") {
SetPrefixCommand::SetPrefixCommand() : IMCCommand("setprefix", "Set the prefix for horion commands", "<prefix>") {
registerAlias("prefix");
}

SetprefixCommand::~SetprefixCommand() {
SetPrefixCommand::~SetPrefixCommand() {
}

bool SetprefixCommand::execute(std::vector<std::string>* args) {
bool SetPrefixCommand::execute(std::vector<std::string>* args) {
assertTrue(args->size() > 1);
assertTrue(args->at(1).length() == 1);
char prefix = args->at(1).at(0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
#include "../CommandMgr.h"

#include "ICommand.h"
class SetprefixCommand : public IMCCommand {
class SetPrefixCommand : public IMCCommand {
public:
SetprefixCommand();
~SetprefixCommand();
SetPrefixCommand();
~SetPrefixCommand();

// Inherited via IMCCommand
virtual bool execute(std::vector<std::string>* args) override;
};
};

3 comments on commit d051dab

@Intoprelised
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HORION IS ALIVE LETS GO

@gocygo
Copy link

@gocygo gocygo commented on d051dab Oct 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its not working for me :C
but more or less yes

@Deadly420
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no

Please sign in to comment.