no-op for PlayerAction START_SLEEPING

this is pretty pointless tbh
This commit is contained in:
Dylan K. Taylor 2017-11-17 13:30:25 +00:00
parent 0fdceb6736
commit adabfe78df

View File

@ -2632,6 +2632,9 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
case PlayerActionPacket::ACTION_STOP_BREAK:
$this->level->broadcastLevelEvent($pos, LevelEventPacket::EVENT_BLOCK_STOP_BREAK);
break;
case PlayerActionPacket::ACTION_START_SLEEPING:
//unused
break;
case PlayerActionPacket::ACTION_STOP_SLEEPING:
$this->stopSleep();
break;