mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-22 10:29:48 +00:00
FEAT: Server operators
This commit is contained in:
parent
5194575092
commit
1ec347d5d5
13 changed files with 74 additions and 9 deletions
|
|
@ -66,7 +66,7 @@ void ConsoleScreen::execute()
|
|||
if (_input[0] == '/') {
|
||||
// Command
|
||||
_input = Util::stringTrim(_input.substr(1));
|
||||
minecraft->commandManager().execute(*minecraft, _input);
|
||||
minecraft->commandManager().execute(*minecraft, *minecraft->player, _input);
|
||||
} else {
|
||||
// @ai @rewrite
|
||||
if (minecraft->netCallback && minecraft->raknetInstance->isServer()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue