Files
minecraft-pe-0.6.1/src/commands/Command.cpp
2026-03-31 00:40:10 +03:00

7 lines
211 B
C++

#include "Command.hpp"
#include "world/level/Level.h"
#include <client/Minecraft.h>
bool Command::isPlayerOp(Minecraft& mc, Player& player) {
return mc.level->ops.find(player.name) != mc.level->ops.end();
}