private function _cmd_commit($player, $command_string) { if (!parent::commit()) { parent::sendText('/w ' . $player . ' Failed to commit changes to map list. No permanent changes has been made.'); } else { parent::sendText('/w ' . $player . ' Successfully committed changes to map list.'); } }