blockstate, more block events, command preprocess event.
This commit is contained in:
@@ -938,7 +938,10 @@ void PlayerConnection::handleChat(shared_ptr<ChatPacket> packet)
|
||||
void PlayerConnection::handleCommand(const wstring& message)
|
||||
{
|
||||
#if defined(_WINDOWS64) && defined(MINECRAFT_SERVER_BUILD)
|
||||
if (FourKitBridge::HandlePlayerCommand(player->entityId, message))
|
||||
std::wstring commandLine = message;
|
||||
if (FourKitBridge::FireCommandPreprocess(player->entityId, commandLine, commandLine))
|
||||
return;
|
||||
if (FourKitBridge::HandlePlayerCommand(player->entityId, commandLine))
|
||||
return;
|
||||
#endif
|
||||
// 4J - TODO
|
||||
|
||||
Reference in New Issue
Block a user