mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-05 03:43:40 +00:00
Fix Permissions log
This commit is contained in:
parent
c4433ca778
commit
44ee3ffbe1
@ -25,7 +25,7 @@ void RegisterSimpleServerLogger() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#include <MC/Command.hpp>
|
#include <MC/Command.hpp>
|
||||||
TInstanceHook(void, "?setPermissions@Player@@QEAAXW4CommandPermissionLevel@@@Z",
|
TInstanceHook(void, "?setPermissions@ServerPlayer@@UEAAXW4CommandPermissionLevel@@@Z",
|
||||||
Player, CommandPermissionLevel perm) {
|
Player, CommandPermissionLevel perm) {
|
||||||
if (LL::globalConfig.enableSimpleServerLogger) {
|
if (LL::globalConfig.enableSimpleServerLogger) {
|
||||||
static Logger logger("Permissions");
|
static Logger logger("Permissions");
|
||||||
|
Loading…
Reference in New Issue
Block a user