def METHOD_NAME(self):
    if self.protocol.one_ctf or self.protocol.reverse_one_ctf:
        flag = self.team.flag
        position = self.world_object.position
        x, y, z = int(
            position.x), int(
            position.y), max(
            0, int(
                position.z))
        z = self.protocol.map.get_z(x, y, z)
        flag.set(x, y, z)
        flag.update()
    return connection.METHOD_NAME(self)