feat: remove sprinting
This commit is contained in:
1 parent
5b198d7b31
commit
bdfe5350cd
14 files changed
+18
-196
No files matched your search
@@ -696,14 +696,6 @@ void PlayerConnection::handlePlayerCommand(shared_ptr<PlayerCommandPacket> packe
|
||||
{
|
||||
player->setSneaking(false);
|
||||
}
|
||||
else if (packet->action == PlayerCommandPacket::START_SPRINTING)
|
||||
{
|
||||
player->setSprinting(true);
|
||||
}
|
||||
else if (packet->action == PlayerCommandPacket::STOP_SPRINTING)
|
||||
{
|
||||
player->setSprinting(false);
|
||||
}
|
||||
else if (packet->action == PlayerCommandPacket::STOP_SLEEPING)
|
||||
{
|
||||
player->stopSleepInBed(false, true, true);
|
||||
|
||||
Reference in new issue
Block a user